Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 472.7 MB / 0.7452 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.75 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3214, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009878/0.3313, allocations: 8.396 MB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1662/0.4975, allocations: 151.8 MB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/0.4997, allocations: 27.88 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.5008, allocations: 324.7 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.5038, allocations: 0.8643 MB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.5069, allocations: 1.375 MB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003484/0.5104, allocations: 2.982 MB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.5124, allocations: 1.492 MB / 1.232 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.5141, allocations: 1.18 MB / 1.233 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.5156, allocations: 1.338 MB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.5161, allocations: 324 kB / 1.234 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.5173, allocations: 0.6793 MB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005851/0.5179, allocations: 0.6933 MB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.5191, allocations: 1.334 MB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.5225, allocations: 3.595 MB / 1.241 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5226, allocations: 0 / 1.241 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5226, allocations: 0 / 1.241 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.403e-05/0.5226, allocations: 0 / 1.241 GB, free: 9.242 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006022/0.5287, allocations: 2.827 MB / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.5287, allocations: 8.031 kB / 1.243 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/0.5442, allocations: 2.108 MB / 1.245 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.5467, allocations: 1.274 MB / 1.247 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.5469, allocations: 168.5 kB / 1.247 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004232/0.5473, allocations: 219.9 kB / 1.247 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5742/1.122, allocations: 3.275 MB / 1.25 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/1.122, allocations: 0 / 1.25 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/1.122, allocations: 93.12 kB / 1.25 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.039e-05/1.122, allocations: 54.22 kB / 1.25 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/1.135, allocations: 4.201 MB / 1.254 GB, free: 180.2 MB / 0.9981 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.01516/1.15, allocations: 8.11 MB / 1.262 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008735/1.159, allocations: 2.876 MB / 1.265 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004211/1.163, allocations: 1.491 MB / 1.267 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/1.164, allocations: 0.5049 MB / 1.267 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005378/1.169, allocations: 1.843 MB / 1.269 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 1.21e-05/1.169, allocations: 0 / 1.269 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01618/1.185, allocations: 4.469 MB / 1.273 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.186, allocations: 205 kB / 1.273 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/1.187, allocations: 0.95 MB / 1.274 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002514/1.188, allocations: 65.95 kB / 1.274 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007365/1.188, allocations: 0.7455 MB / 1.275 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007322/1.189, allocations: 0.6772 MB / 1.276 GB, free: 171 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/1.19, allocations: 399.4 kB / 1.276 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.064e-05/1.19, allocations: 305.7 kB / 1.276 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00452/1.195, allocations: 1.254 MB / 1.278 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004871/1.2, allocations: 1.439 MB / 1.279 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008915/1.209, allocations: 2.618 MB / 1.282 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/1.209, allocations: 1.125 kB / 1.282 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01074/1.22, allocations: 3.116 MB / 1.285 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.22, allocations: 7.219 kB / 1.285 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.22, allocations: 10.14 kB / 1.285 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/1.22, allocations: 90.22 kB / 1.285 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003721/1.224, allocations: 0.5999 MB / 1.285 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/1.226, allocations: 1.635 MB / 1.287 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/1.229, allocations: 367.9 kB / 1.287 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/1.23, allocations: 100.4 kB / 1.287 GB, free: 165 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001277/1.231, allocations: 445.6 kB / 1.288 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006652/1.232, allocations: 153.6 kB / 1.288 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/1.245, allocations: 3.713 MB / 1.292 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/1.245, allocations: 25.69 kB / 1.292 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.245, allocations: 1.375 kB / 1.292 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-05/1.245, allocations: 7.969 kB / 1.292 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/1.249, allocations: 2.472 MB / 1.294 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/1.249, allocations: 0 / 1.294 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003586/1.253, allocations: 0.5573 MB / 1.295 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/1.253, allocations: 82.81 kB / 1.295 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003487/1.253, allocations: 71.62 kB / 1.295 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/1.255, allocations: 1.672 MB / 1.296 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.255, allocations: 0 / 1.296 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00992/1.265, allocations: 3.208 MB / 1.3 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.266, allocations: 0.5438 MB / 1.3 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005536/1.267, allocations: 47.66 kB / 1.3 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003107/1.27, allocations: 271.8 kB / 1.3 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004038/1.27, allocations: 153.2 kB / 1.301 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002712/1.271, allocations: 92.81 kB / 1.301 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001406/1.272, allocations: 0.701 MB / 1.301 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.272, allocations: 0 / 1.301 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002565/1.275, allocations: 0.68 MB / 1.302 GB, free: 156 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001663/1.276, allocations: 0.6661 MB / 1.303 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01383/1.29, allocations: 3.671 MB / 1.306 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.29, allocations: 0 / 1.306 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004695/1.295, allocations: 1.759 MB / 1.308 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/1.297, allocations: 392 kB / 1.308 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007957/1.305, allocations: 4.121 MB / 1.312 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/1.306, allocations: 1.427 MB / 1.314 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003244/1.309, allocations: 0.5833 MB / 1.314 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009881/1.31, allocations: 235.2 kB / 1.315 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.02e-07/1.31, allocations: 3.938 kB / 1.315 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04205/1.352, allocations: 31.45 MB / 1.345 GB, free: 114.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches