Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.001789, allocations: 105.1 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 469.4 MB / 0.7424 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001573, allocations: 61.59 kB / 0.9083 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3856, allocations: 159.1 MB / 1.064 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.01123/0.3969, allocations: 4.864 MB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7232/1.12, allocations: 148.4 MB / 1.213 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/1.121, allocations: 14.59 kB / 1.213 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/1.122, allocations: 145.2 kB / 1.214 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002763/1.125, allocations: 483.5 kB / 1.214 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00281/1.128, allocations: 0.7474 MB / 1.215 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00241/1.131, allocations: 1.367 MB / 1.216 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/1.132, allocations: 0.5826 MB / 1.217 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/1.133, allocations: 484.2 kB / 1.217 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/1.134, allocations: 0.4958 MB / 1.218 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003867/1.135, allocations: 114.1 kB / 1.218 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/1.136, allocations: 461 kB / 1.218 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005229/1.137, allocations: 292.4 kB / 1.218 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/1.138, allocations: 0.5602 MB / 1.219 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/1.14, allocations: 1.211 MB / 1.22 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.14, allocations: 0 / 1.22 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.174e-06/1.14, allocations: 0 / 1.22 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.037e-05/1.14, allocations: 0 / 1.22 GB, free: 7.234 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.004283/1.144, allocations: 1.429 MB / 1.222 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.144, allocations: 10.28 kB / 1.222 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/1.146, allocations: 192.7 kB / 1.222 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/1.147, allocations: 0.7305 MB / 1.222 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/1.147, allocations: 63.84 kB / 1.222 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/1.147, allocations: 80.12 kB / 1.223 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/1.149, allocations: 0.9187 MB / 1.223 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.149, allocations: 1.625 kB / 1.223 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/1.15, allocations: 31.75 kB / 1.223 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/1.15, allocations: 25.38 kB / 1.224 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/1.152, allocations: 1.109 MB / 1.225 GB, free: 4.203 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005006/1.157, allocations: 2.696 MB / 1.227 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/1.158, allocations: 0.7939 MB / 1.228 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/1.159, allocations: 298.7 kB / 1.228 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.731e-05/1.159, allocations: 24.88 kB / 1.228 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/1.16, allocations: 499 kB / 1.229 GB, free: 276 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 2.995e-06/1.16, allocations: 4 kB / 1.229 GB, free: 272 kB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.003495/1.163, allocations: 1.194 MB / 1.23 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.164, allocations: 188.6 kB / 1.23 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.165, allocations: 0.6331 MB / 1.231 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.49e-05/1.165, allocations: 41.7 kB / 1.231 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/1.165, allocations: 400.3 kB / 1.231 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/1.165, allocations: 256.3 kB / 1.231 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/1.166, allocations: 166.5 kB / 1.232 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.166, allocations: 390.7 kB / 1.232 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/1.166, allocations: 265.9 kB / 1.232 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/1.167, allocations: 369.2 kB / 1.233 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/1.168, allocations: 0.6112 MB / 1.233 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.168, allocations: 0 / 1.233 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002112/1.17, allocations: 0.8449 MB / 1.234 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/1.171, allocations: 8 kB / 1.234 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.171, allocations: 0 / 1.234 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006876/1.171, allocations: 88.83 kB / 1.234 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/1.172, allocations: 167.7 kB / 1.234 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/1.174, allocations: 1.642 MB / 1.236 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009669/1.175, allocations: 98.59 kB / 1.236 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.175, allocations: 35.97 kB / 1.236 GB, free: 8.625 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005946/1.176, allocations: 267.3 kB / 1.236 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/1.176, allocations: 84.56 kB / 1.236 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/1.179, allocations: 1.06 MB / 1.237 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.179, allocations: 12 kB / 1.237 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.179, allocations: 4 kB / 1.237 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.179, allocations: 7.922 kB / 1.237 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/1.18, allocations: 0.8802 MB / 1.238 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/1.181, allocations: 0 / 1.238 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/1.181, allocations: 147.8 kB / 1.238 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004692/1.182, allocations: 72.78 kB / 1.238 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/1.182, allocations: 23.98 kB / 1.238 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/1.184, allocations: 1.662 MB / 1.24 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.184, allocations: 0 / 1.24 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/1.186, allocations: 0.924 MB / 1.241 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/1.186, allocations: 271.7 kB / 1.241 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/1.187, allocations: 23.69 kB / 1.241 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007226/1.187, allocations: 71.92 kB / 1.241 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/1.188, allocations: 64.91 kB / 1.241 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-05/1.188, allocations: 39.97 kB / 1.241 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006828/1.188, allocations: 455 kB / 1.242 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/1.188, allocations: 0 / 1.242 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001162/1.19, allocations: 327.2 kB / 1.242 GB, free: 2.012 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001789/1.191, allocations: 0.6115 MB / 1.243 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002697/1.194, allocations: 1.027 MB / 1.244 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.194, allocations: 3.938 kB / 1.244 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009978/1.195, allocations: 0.5081 MB / 1.244 GB, free: 20 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.197, allocations: 301.4 kB / 1.245 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/1.201, allocations: 2.098 MB / 1.247 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/1.201, allocations: 1.012 MB / 1.248 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/1.202, allocations: 123.3 kB / 1.248 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of SimCode: time 8.41e-07/1.202, allocations: 0 / 1.248 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of Templates: time 0.03082/1.233, allocations: 18.38 MB / 1.266 GB, free: 10.15 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,HDifTilIso.HSkyDifTil,HDifTilIso.HGroDifTil Variables in the result:HDifTilIso.HGroDifTil,HDifTilIso.HSkyDifTil,time