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.001146/0.001146, allocations: 98.88 kB / 16.02 MB, free: 76 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.001417/0.001417, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.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.423/2.423, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003846, allocations: 12 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7562/0.7566, allocations: 142.4 MB / 0.9557 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006674/0.7634, allocations: 5.944 MB / 0.9615 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.172/0.9354, allocations: 147.7 MB / 1.106 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.9372, allocations: 19.88 kB / 1.106 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.9383, allocations: 190.4 kB / 1.106 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.9412, allocations: 0.5677 MB / 1.106 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.9444, allocations: 1.215 MB / 1.108 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003467/0.9479, allocations: 2.465 MB / 1.11 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002569/0.9505, allocations: 1.514 MB / 1.112 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.9522, allocations: 0.7619 MB / 1.112 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.9538, allocations: 0.9102 MB / 1.113 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006263/0.9545, allocations: 71.94 kB / 1.113 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.9562, allocations: 427.6 kB / 1.114 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000836/0.9571, allocations: 398 kB / 1.114 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002009/0.9591, allocations: 0.9526 MB / 1.115 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004071/0.9632, allocations: 2.587 MB / 1.118 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.9632, allocations: 0 / 1.118 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.103e-06/0.9632, allocations: 0 / 1.118 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001286/0.9634, allocations: 4 kB / 1.118 GB, free: 9.062 MB / 0.8731 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.006727/0.9701, allocations: 2.269 MB / 1.12 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.9702, allocations: 8.031 kB / 1.12 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.9865, allocations: 2.3 MB / 1.122 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002879/0.9894, allocations: 1.259 MB / 1.123 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.9896, allocations: 172.5 kB / 1.123 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008393/0.9905, allocations: 224 kB / 1.124 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/1.002, allocations: 3.348 MB / 1.127 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.788e-05/1.002, allocations: 0 / 1.127 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006072/1.002, allocations: 99.94 kB / 1.127 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/1.002, allocations: 60 kB / 1.127 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/1.017, allocations: 4.338 MB / 1.131 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01892/1.036, allocations: 7.368 MB / 1.138 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/1.046, allocations: 2.9 MB / 1.141 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005077/1.051, allocations: 1.501 MB / 1.143 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009226/1.052, allocations: 0.5035 MB / 1.143 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006341/1.059, allocations: 1.863 MB / 1.145 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 5.019e-06/1.059, allocations: 0 / 1.145 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.01788/1.077, allocations: 4.501 MB / 1.149 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/1.077, allocations: 213.9 kB / 1.15 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/1.078, allocations: 0.9447 MB / 1.151 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005937/1.079, allocations: 61.7 kB / 1.151 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007469/1.08, allocations: 0.7349 MB / 1.151 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/1.081, allocations: 0.6892 MB / 1.152 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005611/1.081, allocations: 149.6 kB / 1.152 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.082, allocations: 301.1 kB / 1.152 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004765/1.086, allocations: 1.265 MB / 1.154 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/1.091, allocations: 1.453 MB / 1.155 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009769/1.101, allocations: 2.637 MB / 1.158 GB, free: 15.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/1.101, allocations: 0 / 1.158 GB, free: 15.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01218/1.113, allocations: 3.151 MB / 1.161 GB, free: 12.14 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/1.114, allocations: 5.562 kB / 1.161 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.114, allocations: 4 kB / 1.161 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/1.114, allocations: 84.84 kB / 1.161 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004214/1.118, allocations: 0.6084 MB / 1.161 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/1.121, allocations: 1.524 MB / 1.163 GB, free: 9.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/1.125, allocations: 390.1 kB / 1.163 GB, free: 9.391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006336/1.125, allocations: 99.88 kB / 1.163 GB, free: 9.293 MB / 0.92 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.001596/1.127, allocations: 436 kB / 1.164 GB, free: 8.855 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005879/1.127, allocations: 158.1 kB / 1.164 GB, free: 8.699 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/1.141, allocations: 3.74 MB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/1.141, allocations: 27.88 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.141, allocations: 4 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.374e-05/1.141, allocations: 11.95 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003972/1.145, allocations: 2.451 MB / 1.17 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/1.145, allocations: 0 / 1.17 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003836/1.149, allocations: 0.5656 MB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006252/1.149, allocations: 92.77 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004874/1.15, allocations: 75.91 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/1.152, allocations: 1.555 MB / 1.172 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.152, allocations: 0 / 1.172 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/1.164, allocations: 3.238 MB / 1.175 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.165, allocations: 0.5724 MB / 1.176 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006881/1.166, allocations: 47.98 kB / 1.176 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003449/1.169, allocations: 289.9 kB / 1.176 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/1.17, allocations: 153.8 kB / 1.176 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003995/1.17, allocations: 91.91 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001269/1.172, allocations: 0.6958 MB / 1.177 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/1.172, allocations: 0 / 1.177 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002357/1.174, allocations: 0.6426 MB / 1.178 GB, free: 10.2 MB / 0.9356 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.001921/1.176, allocations: 0.6663 MB / 1.179 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.187, allocations: 3.19 MB / 1.182 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.187, allocations: 4 kB / 1.182 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.006014/1.193, allocations: 1.767 MB / 1.183 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/1.196, allocations: 337 kB / 1.184 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.208, allocations: 5.308 MB / 1.189 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/1.21, allocations: 1.426 MB / 1.19 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/1.212, allocations: 283.2 kB / 1.191 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of SimCode: time 1.293e-06/1.212, allocations: 0 / 1.191 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.06122/1.273, allocations: 41.35 MB / 1.231 GB, free: 3.98 MB / 0.9825 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 -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