Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 249.5 MB / 257 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 179.5 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.3 MB / 0.5671 GB, free: 15.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 88.34 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.528e-05/1.531e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2548, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.969/7.224, allocations: 2.191 GB / 3.076 GB, free: 174 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/7.224, allocations: 90.27 kB / 3.076 GB, free: 174 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1593/7.384, allocations: 77.29 MB / 3.152 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.994e-06/7.384, allocations: 0 / 3.152 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001394/7.384, allocations: 35.88 kB / 3.152 GB, free: 104.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002426/7.386, allocations: 1.234 MB / 3.153 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/7.386, allocations: 8.031 kB / 3.153 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009187/7.387, allocations: 226.1 kB / 3.153 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009786/7.388, allocations: 0.6977 MB / 3.154 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/7.388, allocations: 36 kB / 3.154 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/7.389, allocations: 64 kB / 3.154 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001398/7.39, allocations: 1.117 MB / 3.155 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/7.391, allocations: 0.9178 MB / 3.156 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/7.391, allocations: 0 / 3.156 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/7.391, allocations: 0 / 3.156 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/7.391, allocations: 28 kB / 3.156 GB, free: 99.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/7.395, allocations: 2.801 MB / 3.159 GB, free: 96.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008157/7.396, allocations: 0.7005 MB / 3.159 GB, free: 96.02 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/7.396, allocations: 251.2 kB / 3.16 GB, free: 95.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.32e-05/7.396, allocations: 36.8 kB / 3.16 GB, free: 95.74 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005417/7.397, allocations: 403.8 kB / 3.16 GB, free: 95.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 3.256e-06/7.397, allocations: 0 / 3.16 GB, free: 95.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78): time 0.001455/7.398, allocations: 0.6836 MB / 3.161 GB, free: 94.63 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/7.398, allocations: 245.1 kB / 3.161 GB, free: 94.34 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/7.399, allocations: 0.5465 MB / 3.161 GB, free: 93.78 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/7.399, allocations: 25.7 kB / 3.161 GB, free: 93.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/7.399, allocations: 0.4956 MB / 3.162 GB, free: 93.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/7.4, allocations: 244.2 kB / 3.162 GB, free: 93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/7.4, allocations: 0 / 3.162 GB, free: 93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000112/7.4, allocations: 390.7 kB / 3.163 GB, free: 92.61 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/7.4, allocations: 209.5 kB / 3.163 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/7.4, allocations: 307.5 kB / 3.163 GB, free: 92.08 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/7.401, allocations: 260.5 kB / 3.163 GB, free: 91.83 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/7.401, allocations: 0 / 3.163 GB, free: 91.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001258/7.402, allocations: 0.6837 MB / 3.164 GB, free: 91.13 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/7.402, allocations: 8.062 kB / 3.164 GB, free: 91.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/7.402, allocations: 4 kB / 3.164 GB, free: 91.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/7.403, allocations: 80.72 kB / 3.164 GB, free: 91.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/7.403, allocations: 151.8 kB / 3.164 GB, free: 90.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/7.405, allocations: 1.465 MB / 3.166 GB, free: 89.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/7.405, allocations: 71.53 kB / 3.166 GB, free: 89.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/7.405, allocations: 27.98 kB / 3.166 GB, free: 89.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0001632/7.406, allocations: 114.7 kB / 3.166 GB, free: 89.09 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/7.406, allocations: 82.97 kB / 3.166 GB, free: 89 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/7.407, allocations: 0.9315 MB / 3.167 GB, free: 88.06 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/7.407, allocations: 20.06 kB / 3.167 GB, free: 88.04 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/7.408, allocations: 0 / 3.167 GB, free: 88.04 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/7.408, allocations: 3.984 kB / 3.167 GB, free: 88.04 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/7.409, allocations: 0.8488 MB / 3.168 GB, free: 87.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/7.409, allocations: 0 / 3.168 GB, free: 87.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/7.409, allocations: 151.8 kB / 3.168 GB, free: 87 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/7.41, allocations: 80.78 kB / 3.168 GB, free: 86.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/7.41, allocations: 15.98 kB / 3.168 GB, free: 86.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/7.411, allocations: 1.473 MB / 3.169 GB, free: 85.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/7.411, allocations: 4 kB / 3.169 GB, free: 85.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/7.412, allocations: 0.7816 MB / 3.17 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/7.413, allocations: 291.7 kB / 3.17 GB, free: 84.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/7.413, allocations: 7.984 kB / 3.17 GB, free: 84.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004928/7.413, allocations: 47.95 kB / 3.17 GB, free: 84.14 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/7.413, allocations: 64.69 kB / 3.171 GB, free: 84.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/7.413, allocations: 35.98 kB / 3.171 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000484/7.414, allocations: 443.1 kB / 3.171 GB, free: 83.61 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.414, allocations: 0 / 3.171 GB, free: 83.61 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001086/7.415, allocations: 346.6 kB / 3.171 GB, free: 83.27 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001712/7.417, allocations: 1.048 MB / 3.172 GB, free: 82.27 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001145/7.418, allocations: 0.6905 MB / 3.173 GB, free: 81.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/7.418, allocations: 4.125 kB / 3.173 GB, free: 81.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005867/7.418, allocations: 460.5 kB / 3.173 GB, free: 81.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/7.42, allocations: 234.7 kB / 3.174 GB, free: 80.88 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/7.423, allocations: 1.478 MB / 3.175 GB, free: 79.38 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/7.423, allocations: 1.097 MB / 3.176 GB, free: 78.25 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008086/7.424, allocations: 262.2 kB / 3.176 GB, free: 77.99 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/7.425, allocations: 99.39 kB / 3.177 GB, free: 77.89 MB / 0.8698 GB Notification: Performance of SimCode: time 8.31e-07/7.425, allocations: 0 / 3.177 GB, free: 77.89 MB / 0.8698 GB Notification: Performance of Templates: time 0.02382/7.448, allocations: 15.63 MB / 3.192 GB, free: 62.33 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches