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.0009586/0.0009587, allocations: 100 kB / 15.05 MB, free: 1.105 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.001017/0.001017, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.336 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.291/2.291, allocations: 390.2 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002855, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.6062, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005146/0.6114, allocations: 5.429 MB / 0.9588 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1422/0.7536, allocations: 128.6 MB / 1.084 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.755, allocations: 27.81 kB / 1.084 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004856/0.7555, allocations: 122.8 kB / 1.085 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.7576, allocations: 0.6514 MB / 1.085 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.7598, allocations: 0.9743 MB / 1.086 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002136/0.7619, allocations: 1.515 MB / 1.088 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.7633, allocations: 1.203 MB / 1.089 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.7645, allocations: 0.7625 MB / 1.089 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.7655, allocations: 0.8612 MB / 1.09 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.7657, allocations: 64 kB / 1.09 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008663/0.7666, allocations: 367.6 kB / 1.091 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003515/0.7669, allocations: 386.3 kB / 1.091 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.7673, allocations: 388.5 kB / 1.091 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.7697, allocations: 2.599 MB / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.7697, allocations: 0 / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7697, allocations: 0 / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.223e-05/0.7697, allocations: 0 / 1.094 GB, free: 15.9 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.005015/0.7748, allocations: 2.297 MB / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.7748, allocations: 8.031 kB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/0.7902, allocations: 2.299 MB / 1.099 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.7926, allocations: 1.231 MB / 1.1 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.7928, allocations: 168.5 kB / 1.1 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004251/0.7933, allocations: 216 kB / 1.1 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008862/0.8021, allocations: 3.317 MB / 1.103 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/0.8022, allocations: 4 kB / 1.103 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/0.8025, allocations: 99.92 kB / 1.103 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.8025, allocations: 55.98 kB / 1.103 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.8153, allocations: 4.33 MB / 1.108 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.8311, allocations: 7.351 MB / 1.115 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009007/0.8401, allocations: 2.889 MB / 1.118 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/0.8409, allocations: 0.5035 MB / 1.118 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004954/0.8458, allocations: 1.839 MB / 1.12 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 3.998e-06/0.8459, allocations: 0 / 1.12 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.01491/0.8608, allocations: 4.487 MB / 1.124 GB, free: 352 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.8609, allocations: 205.9 kB / 1.125 GB, free: 104 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.8624, allocations: 0.9296 MB / 1.125 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000387/0.8628, allocations: 73.69 kB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00063/0.8634, allocations: 0.7426 MB / 1.126 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007918/0.8642, allocations: 0.6814 MB / 1.127 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.8645, allocations: 40 kB / 1.127 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.8647, allocations: 377.9 kB / 1.127 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004248/0.8689, allocations: 1.237 MB / 1.129 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004389/0.8733, allocations: 1.425 MB / 1.13 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004302/0.8776, allocations: 1.283 MB / 1.131 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.8777, allocations: 0 / 1.131 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01006/0.8877, allocations: 3.077 MB / 1.134 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.8878, allocations: 4 kB / 1.134 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.8878, allocations: 7.938 kB / 1.134 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.8884, allocations: 92.78 kB / 1.134 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/0.8922, allocations: 0.6006 MB / 1.135 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.8942, allocations: 1.54 MB / 1.136 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/0.8974, allocations: 382.2 kB / 1.137 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003659/0.8978, allocations: 95.89 kB / 1.137 GB, free: 3.289 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: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001165/0.8989, allocations: 431.7 kB / 1.137 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/0.8994, allocations: 162 kB / 1.137 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.9111, allocations: 3.747 MB / 1.141 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.9111, allocations: 20 kB / 1.141 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.9111, allocations: 7.984 kB / 1.141 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.9112, allocations: 11.97 kB / 1.141 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.9143, allocations: 2.452 MB / 1.144 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.9143, allocations: 0 / 1.144 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003497/0.9178, allocations: 0.5695 MB / 1.144 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005387/0.9184, allocations: 88.77 kB / 1.144 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/0.9186, allocations: 75.91 kB / 1.144 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.9204, allocations: 1.571 MB / 1.146 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9204, allocations: 3.984 kB / 1.146 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.9305, allocations: 3.218 MB / 1.149 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.9318, allocations: 0.5801 MB / 1.149 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/0.9323, allocations: 40 kB / 1.149 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002965/0.9353, allocations: 301.2 kB / 1.15 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/0.9356, allocations: 149.8 kB / 1.15 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002463/0.9359, allocations: 95.91 kB / 1.15 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00101/0.9369, allocations: 0.6841 MB / 1.151 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9369, allocations: 0 / 1.151 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001663/0.9386, allocations: 0.6464 MB / 1.151 GB, free: 4.191 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/0.94, allocations: 0.6474 MB / 1.152 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.009696/0.9498, allocations: 3.135 MB / 1.155 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.9498, allocations: 7.938 kB / 1.155 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.005372/0.9552, allocations: 1.759 MB / 1.157 GB, free: 14.79 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.9568, allocations: 290.2 kB / 1.157 GB, free: 14.51 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.9676, allocations: 5.089 MB / 1.162 GB, free: 9.395 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.9687, allocations: 1.471 MB / 1.163 GB, free: 7.891 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003719/0.9724, allocations: 0.5791 MB / 1.164 GB, free: 7.305 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.9736, allocations: 239.2 kB / 1.164 GB, free: 7.07 MB / 0.92 GB Notification: Performance of SimCode: time 6.51e-07/0.9737, allocations: 0 / 1.164 GB, free: 7.07 MB / 0.92 GB Notification: Performance of Templates: time 0.04634/1.02, allocations: 27.87 MB / 1.191 GB, free: 11.36 MB / 0.9512 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","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches