Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 99.86 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.00183/0.00183, 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.702/2.702, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 8 kB / 0.8707 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/0.7626, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005247/0.7679, allocations: 3.982 MB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1556/0.9235, allocations: 127.6 MB / 1.149 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009763/0.9245, allocations: 23.81 kB / 1.149 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005502/0.9251, allocations: 75.27 kB / 1.149 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.9271, allocations: 0.5091 MB / 1.15 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.929, allocations: 0.6469 MB / 1.151 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001556/0.9305, allocations: 0.8955 MB / 1.151 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009045/0.9315, allocations: 0.6982 MB / 1.152 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000563/0.932, allocations: 386.2 kB / 1.152 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000439/0.9325, allocations: 389.7 kB / 1.153 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.9326, allocations: 28 kB / 1.153 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009564/0.9335, allocations: 311.6 kB / 1.153 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.9337, allocations: 211 kB / 1.153 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.934, allocations: 241 kB / 1.154 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.9354, allocations: 1.411 MB / 1.155 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.9354, allocations: 0 / 1.155 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9354, allocations: 4 kB / 1.155 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.9355, allocations: 0 / 1.155 GB, free: 7.305 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002536/0.938, allocations: 1.432 MB / 1.156 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.9381, allocations: 11.98 kB / 1.156 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008984/0.939, allocations: 234 kB / 1.157 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.9401, allocations: 0.813 MB / 1.157 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/0.9402, allocations: 94.34 kB / 1.158 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.9404, allocations: 116 kB / 1.158 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.9422, allocations: 1.182 MB / 1.159 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.9422, allocations: 7.922 kB / 1.159 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.9424, allocations: 52 kB / 1.159 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.9424, allocations: 36 kB / 1.159 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.9443, allocations: 1.285 MB / 1.16 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004608/0.949, allocations: 3.186 MB / 1.163 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.9504, allocations: 0.8628 MB / 1.164 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/0.9505, allocations: 32.61 kB / 1.164 GB, free: 13.72 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008503/0.9514, allocations: 0.512 MB / 1.165 GB, free: 13.19 MB / 0.92 GB Notification: Performance of pre-optimization done (n=87): time 2.866e-06/0.9514, allocations: 4 kB / 1.165 GB, free: 13.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=87): time 0.003045/0.9545, allocations: 1.285 MB / 1.166 GB, free: 11.88 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.9546, allocations: 192.9 kB / 1.166 GB, free: 11.64 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008442/0.9554, allocations: 0.7314 MB / 1.167 GB, free: 10.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.9555, allocations: 41.7 kB / 1.167 GB, free: 10.86 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.9559, allocations: 0.5272 MB / 1.167 GB, free: 10.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.9561, allocations: 279.8 kB / 1.168 GB, free: 10.05 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.9561, allocations: 16 kB / 1.168 GB, free: 10.03 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9562, allocations: 338 kB / 1.168 GB, free: 9.695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/0.9567, allocations: 265.9 kB / 1.168 GB, free: 9.438 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.9573, allocations: 382.5 kB / 1.169 GB, free: 9.039 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/0.9579, allocations: 326.8 kB / 1.169 GB, free: 8.719 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9579, allocations: 0 / 1.169 GB, free: 8.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001771/0.9597, allocations: 0.8721 MB / 1.17 GB, free: 7.836 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.9597, allocations: 4 kB / 1.17 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9597, allocations: 0 / 1.17 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005684/0.9603, allocations: 92.81 kB / 1.17 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.961, allocations: 159.8 kB / 1.17 GB, free: 7.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.9629, allocations: 1.536 MB / 1.171 GB, free: 5.906 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006817/0.9636, allocations: 115.3 kB / 1.172 GB, free: 5.793 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.9636, allocations: 27.98 kB / 1.172 GB, free: 5.766 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.000471/0.9641, allocations: 289.7 kB / 1.172 GB, free: 5.473 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.9642, allocations: 98.78 kB / 1.172 GB, free: 5.375 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.9666, allocations: 1.141 MB / 1.173 GB, free: 4.223 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.9666, allocations: 12 kB / 1.173 GB, free: 4.211 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.9666, allocations: 3.984 kB / 1.173 GB, free: 4.207 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.9666, allocations: 3.984 kB / 1.173 GB, free: 4.203 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.9677, allocations: 1.059 MB / 1.174 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.9678, allocations: 0 / 1.174 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.9684, allocations: 151.8 kB / 1.174 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004871/0.9689, allocations: 84.77 kB / 1.174 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.9689, allocations: 23.98 kB / 1.174 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.9708, allocations: 1.571 MB / 1.176 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9708, allocations: 0 / 1.176 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.9726, allocations: 0.9824 MB / 1.177 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/0.9731, allocations: 303.6 kB / 1.177 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.9732, allocations: 23.98 kB / 1.177 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.9739, allocations: 83.88 kB / 1.177 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.974, allocations: 76.83 kB / 1.177 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-05/0.9741, allocations: 39.97 kB / 1.177 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006563/0.9748, allocations: 0.5107 MB / 1.178 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9748, allocations: 0 / 1.178 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009386/0.9757, allocations: 358.8 kB / 1.178 GB, free: 14.72 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001329/0.977, allocations: 0.5971 MB / 1.179 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.9786, allocations: 0.8509 MB / 1.18 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9787, allocations: 4 kB / 1.18 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008814/0.9795, allocations: 0.5432 MB / 1.18 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.9806, allocations: 249.3 kB / 1.18 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/0.9849, allocations: 2.603 MB / 1.183 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006508/0.9855, allocations: 1.137 MB / 1.184 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008382/0.9864, allocations: 275.3 kB / 1.184 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.9866, allocations: 111.4 kB / 1.184 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.9867, allocations: 0 / 1.184 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of Templates: time 0.02515/1.012, allocations: 14.4 MB / 1.198 GB, free: 10.22 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches