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 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.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.007058/0.007058, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001125/0.001125, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 55.91 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3598, allocations: 157.4 MB / 1.208 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01009/0.37, allocations: 8.416 MB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.011/1.381, allocations: 151.8 MB / 1.364 GB, free: 5.906 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/1.384, allocations: 24.31 kB / 1.364 GB, free: 5.898 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/1.385, allocations: 323.5 kB / 1.365 GB, free: 5.684 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004179/1.389, allocations: 0.8453 MB / 1.365 GB, free: 5.152 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003973/1.393, allocations: 1.382 MB / 1.367 GB, free: 4.395 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004953/1.398, allocations: 2.999 MB / 1.37 GB, free: 2.855 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/1.401, allocations: 1.494 MB / 1.371 GB, free: 2.066 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/1.404, allocations: 1.201 MB / 1.372 GB, free: 1.469 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/1.406, allocations: 1.35 MB / 1.374 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0012/1.408, allocations: 324.7 kB / 1.374 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/1.41, allocations: 0.7051 MB / 1.375 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/1.412, allocations: 0.6927 MB / 1.375 GB, free: 156 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002829/1.415, allocations: 1.339 MB / 1.377 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006952/1.422, allocations: 3.661 MB / 1.38 GB, free: 12.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.422, allocations: 0 / 1.38 GB, free: 12.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.156e-06/1.422, allocations: 0 / 1.38 GB, free: 12.39 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001706/1.422, allocations: 1.156 kB / 1.38 GB, free: 12.39 MB / 1.076 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.01187/1.434, allocations: 2.83 MB / 1.383 GB, free: 10.37 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.434, allocations: 9.969 kB / 1.383 GB, free: 10.37 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/1.45, allocations: 2.107 MB / 1.385 GB, free: 9.414 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/1.454, allocations: 1.292 MB / 1.386 GB, free: 8.359 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/1.454, allocations: 170 kB / 1.386 GB, free: 8.281 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/1.455, allocations: 218.4 kB / 1.387 GB, free: 8.211 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/1.468, allocations: 3.28 MB / 1.39 GB, free: 6.234 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.397e-05/1.468, allocations: 1.125 kB / 1.39 GB, free: 6.234 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006163/1.469, allocations: 91.22 kB / 1.39 GB, free: 6.164 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-05/1.469, allocations: 55.22 kB / 1.39 GB, free: 6.164 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0146/1.483, allocations: 4.211 MB / 1.394 GB, free: 4.125 MB / 1.076 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.0195/1.503, allocations: 8.038 MB / 1.402 GB, free: 13.88 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009434/1.512, allocations: 2.883 MB / 1.405 GB, free: 12.44 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004543/1.517, allocations: 1.486 MB / 1.406 GB, free: 11.05 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008099/1.518, allocations: 0.5074 MB / 1.407 GB, free: 10.45 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005383/1.523, allocations: 1.848 MB / 1.408 GB, free: 8.578 MB / 1.092 GB Notification: Performance of pre-optimization done (n=213): time 4.649e-06/1.523, allocations: 3.938 kB / 1.408 GB, free: 8.574 MB / 1.092 GB Notification: Performance of matching and sorting (n=213): time 0.01635/1.539, allocations: 4.462 MB / 1.413 GB, free: 4.086 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/1.54, allocations: 209.9 kB / 1.413 GB, free: 3.84 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/1.541, allocations: 0.9487 MB / 1.414 GB, free: 2.871 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002404/1.542, allocations: 62.83 kB / 1.414 GB, free: 2.805 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007697/1.542, allocations: 0.7349 MB / 1.415 GB, free: 2.059 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007774/1.543, allocations: 0.6853 MB / 1.415 GB, free: 1.363 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008758/1.544, allocations: 395.1 kB / 1.416 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.544, allocations: 305.1 kB / 1.416 GB, free: 0.668 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004486/1.549, allocations: 1.257 MB / 1.417 GB, free: 15.41 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004615/1.553, allocations: 1.441 MB / 1.419 GB, free: 13.95 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008825/1.562, allocations: 2.606 MB / 1.421 GB, free: 11.32 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.562, allocations: 0 / 1.421 GB, free: 11.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01066/1.573, allocations: 3.129 MB / 1.424 GB, free: 8.18 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/1.573, allocations: 4 kB / 1.424 GB, free: 8.176 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.573, allocations: 4 kB / 1.424 GB, free: 8.172 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006563/1.574, allocations: 92.58 kB / 1.424 GB, free: 8.082 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/1.578, allocations: 0.6006 MB / 1.425 GB, free: 7.48 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/1.58, allocations: 1.642 MB / 1.427 GB, free: 5.695 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003702/1.584, allocations: 371.5 kB / 1.427 GB, free: 5.332 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004885/1.584, allocations: 100 kB / 1.427 GB, free: 5.234 MB / 1.107 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.001539/1.586, allocations: 444 kB / 1.427 GB, free: 4.789 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007804/1.587, allocations: 154 kB / 1.428 GB, free: 4.637 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.599, allocations: 3.711 MB / 1.431 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/1.599, allocations: 23.98 kB / 1.431 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.599, allocations: 7.938 kB / 1.431 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-05/1.599, allocations: 7.969 kB / 1.431 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003904/1.603, allocations: 2.452 MB / 1.434 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/1.603, allocations: 0 / 1.434 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003564/1.607, allocations: 0.5539 MB / 1.434 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/1.607, allocations: 80.72 kB / 1.434 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003053/1.608, allocations: 75.91 kB / 1.434 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/1.61, allocations: 1.666 MB / 1.436 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.61, allocations: 4 kB / 1.436 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/1.62, allocations: 3.21 MB / 1.439 GB, free: 8.617 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.622, allocations: 0.5451 MB / 1.44 GB, free: 8.051 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00054/1.622, allocations: 51.88 kB / 1.44 GB, free: 8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003116/1.625, allocations: 271.7 kB / 1.44 GB, free: 7.734 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003317/1.626, allocations: 153.7 kB / 1.44 GB, free: 7.582 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/1.626, allocations: 91.91 kB / 1.44 GB, free: 7.492 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001297/1.627, allocations: 0.6997 MB / 1.441 GB, free: 6.785 MB / 1.123 GB Notification: Performance of sort global known variables: time 3e-07/1.627, allocations: 0 / 1.441 GB, free: 6.785 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002312/1.63, allocations: 0.6739 MB / 1.442 GB, free: 6.109 MB / 1.123 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.001764/1.632, allocations: 0.6678 MB / 1.442 GB, free: 5.617 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01049/1.642, allocations: 3.159 MB / 1.445 GB, free: 2.445 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.642, allocations: 256 / 1.445 GB, free: 2.445 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.005313/1.647, allocations: 1.759 MB / 1.447 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/1.65, allocations: 400.5 kB / 1.447 GB, free: 316 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009568/1.659, allocations: 4.066 MB / 1.451 GB, free: 12.21 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.661, allocations: 1.426 MB / 1.453 GB, free: 10.75 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003175/1.664, allocations: 0.5717 MB / 1.453 GB, free: 10.17 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.665, allocations: 243.2 kB / 1.454 GB, free: 9.934 MB / 1.139 GB Notification: Performance of SimCode: time 9.42e-07/1.665, allocations: 0 / 1.454 GB, free: 9.934 MB / 1.139 GB Notification: Performance of Templates: time 0.06979/1.735, allocations: 32.47 MB / 1.485 GB, free: 9.648 MB / 1.17 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