Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001559/0.00156, allocations: 109.1 kB / 16.37 MB, free: 6.016 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.001475/0.001475, allocations: 194.1 kB / 17.31 MB, free: 5.613 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.42 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2716, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007742/0.2794, allocations: 6.48 MB / 0.9574 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6902/0.9697, allocations: 151.6 MB / 1.105 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.9711, allocations: 23.66 kB / 1.106 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008141/0.9719, allocations: 258.5 kB / 1.106 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.9748, allocations: 0.6922 MB / 1.106 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.9784, allocations: 1.363 MB / 1.108 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004156/0.9826, allocations: 2.677 MB / 1.11 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.9852, allocations: 1.59 MB / 1.112 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.9875, allocations: 1.138 MB / 1.113 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00261/0.9901, allocations: 1.298 MB / 1.114 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007261/0.9909, allocations: 325 kB / 1.115 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.9925, allocations: 0.6986 MB / 1.115 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007199/0.9932, allocations: 0.6955 MB / 1.116 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.9947, allocations: 1.264 MB / 1.117 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004728/0.9994, allocations: 3.556 MB / 1.121 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.9995, allocations: 0 / 1.121 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9995, allocations: 13.34 kB / 1.121 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.737e-05/0.9996, allocations: 0 / 1.121 GB, free: 2.5 MB / 0.8575 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.006867/1.006, allocations: 2.771 MB / 1.123 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.006, allocations: 11.88 kB / 1.123 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/1.022, allocations: 2.112 MB / 1.125 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/1.026, allocations: 1.286 MB / 1.127 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/1.026, allocations: 175.7 kB / 1.127 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006536/1.027, allocations: 214.3 kB / 1.127 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009167/1.036, allocations: 3.277 MB / 1.13 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.675e-05/1.036, allocations: 5.156 kB / 1.13 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002838/1.036, allocations: 94.94 kB / 1.13 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/1.036, allocations: 54.5 kB / 1.13 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/1.049, allocations: 4.206 MB / 1.135 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01806/1.067, allocations: 7.232 MB / 1.142 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009143/1.076, allocations: 2.887 MB / 1.144 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004365/1.081, allocations: 1.486 MB / 1.146 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000838/1.081, allocations: 0.507 MB / 1.146 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005229/1.087, allocations: 1.844 MB / 1.148 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 5.3e-06/1.087, allocations: 0 / 1.148 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.01421/1.101, allocations: 4.454 MB / 1.153 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.101, allocations: 215.8 kB / 1.153 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/1.103, allocations: 0.9454 MB / 1.154 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003066/1.103, allocations: 63.77 kB / 1.154 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000692/1.104, allocations: 0.7411 MB / 1.154 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006146/1.104, allocations: 0.68 MB / 1.155 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008022/1.105, allocations: 388.4 kB / 1.156 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.105, allocations: 307.7 kB / 1.156 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004136/1.109, allocations: 1.255 MB / 1.157 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004281/1.114, allocations: 1.434 MB / 1.158 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007694/1.121, allocations: 2.609 MB / 1.161 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.121, allocations: 0 / 1.161 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009637/1.131, allocations: 3.121 MB / 1.164 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.131, allocations: 12.39 kB / 1.164 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.131, allocations: 2.219 kB / 1.164 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/1.132, allocations: 85.09 kB / 1.164 GB, free: 500 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/1.136, allocations: 0.6042 MB / 1.165 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/1.138, allocations: 1.634 MB / 1.166 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/1.141, allocations: 369.3 kB / 1.167 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003647/1.142, allocations: 102.6 kB / 1.167 GB, free: 14.44 MB / 0.8887 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.001324/1.143, allocations: 440.4 kB / 1.167 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004858/1.143, allocations: 154.8 kB / 1.167 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.154, allocations: 3.715 MB / 1.171 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/1.154, allocations: 22.56 kB / 1.171 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.154, allocations: 0 / 1.171 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/1.154, allocations: 11.97 kB / 1.171 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/1.157, allocations: 2.449 MB / 1.173 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/1.157, allocations: 0 / 1.173 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003375/1.161, allocations: 0.559 MB / 1.174 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004553/1.161, allocations: 84.66 kB / 1.174 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002468/1.162, allocations: 78.91 kB / 1.174 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/1.163, allocations: 1.656 MB / 1.176 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.164, allocations: 10.84 kB / 1.176 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009848/1.173, allocations: 3.209 MB / 1.179 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/1.175, allocations: 0.5482 MB / 1.179 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/1.175, allocations: 52.19 kB / 1.179 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.178, allocations: 267.9 kB / 1.18 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/1.178, allocations: 148.3 kB / 1.18 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/1.178, allocations: 96.97 kB / 1.18 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001019/1.179, allocations: 0.696 MB / 1.181 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/1.179, allocations: 0 / 1.181 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001879/1.181, allocations: 0.6413 MB / 1.181 GB, free: 5.383 MB / 0.8887 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.001605/1.183, allocations: 0.6633 MB / 1.182 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.009033/1.192, allocations: 3.156 MB / 1.185 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.192, allocations: 0 / 1.185 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.004665/1.197, allocations: 1.757 MB / 1.187 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/1.198, allocations: 361.7 kB / 1.187 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009234/1.208, allocations: 4.184 MB / 1.191 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.209, allocations: 1.422 MB / 1.192 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00302/1.212, allocations: 0.5636 MB / 1.193 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.213, allocations: 239.2 kB / 1.193 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of SimCode: time 9.61e-07/1.213, allocations: 0 / 1.193 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.05115/1.264, allocations: 30.19 MB / 1.223 GB, free: 15.54 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches