Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_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_9_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.001473/0.001473, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001651/0.001651, allocations: 191 kB / 17.29 MB, free: 5.516 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 14.99 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.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.72 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2437, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00631/0.25, allocations: 4.76 MB / 0.9557 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6293/0.8793, allocations: 150.7 MB / 1.103 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000846/0.8802, allocations: 19.22 kB / 1.103 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006913/0.8809, allocations: 193.5 kB / 1.103 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.8827, allocations: 0.5192 MB / 1.104 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.8847, allocations: 0.8672 MB / 1.104 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.8863, allocations: 1.447 MB / 1.106 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.8875, allocations: 0.9267 MB / 1.107 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008793/0.8884, allocations: 0.5741 MB / 1.107 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009622/0.8894, allocations: 0.6301 MB / 1.108 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002912/0.8897, allocations: 154.9 kB / 1.108 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.891, allocations: 0.512 MB / 1.109 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003904/0.8914, allocations: 375.4 kB / 1.109 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007707/0.8921, allocations: 0.6912 MB / 1.11 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.895, allocations: 1.964 MB / 1.112 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.895, allocations: 5.906 kB / 1.112 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.776e-06/0.8951, allocations: 0.9688 kB / 1.112 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.314e-05/0.8951, allocations: 0 / 1.112 GB, free: 4.281 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004333/0.8994, allocations: 1.686 MB / 1.113 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.8995, allocations: 9.969 kB / 1.113 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.9006, allocations: 217.7 kB / 1.113 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.9022, allocations: 0.8721 MB / 1.114 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/0.9023, allocations: 89.47 kB / 1.114 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.9024, allocations: 115.9 kB / 1.114 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.9047, allocations: 1.204 MB / 1.116 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.9047, allocations: 1.031 kB / 1.116 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.9049, allocations: 49.22 kB / 1.116 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/0.9049, allocations: 28.66 kB / 1.116 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.9071, allocations: 1.291 MB / 1.117 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/0.9118, allocations: 3.101 MB / 1.12 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.9133, allocations: 0.8628 MB / 1.121 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.9138, allocations: 327.1 kB / 1.121 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.9139, allocations: 34.59 kB / 1.121 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008297/0.9148, allocations: 0.5187 MB / 1.122 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 2.595e-06/0.9148, allocations: 0 / 1.122 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.00339/0.9182, allocations: 1.276 MB / 1.123 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.9183, allocations: 191.3 kB / 1.123 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009322/0.9192, allocations: 0.7351 MB / 1.124 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-05/0.9193, allocations: 44.98 kB / 1.124 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/0.9197, allocations: 0.5114 MB / 1.124 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.9199, allocations: 289.8 kB / 1.125 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/0.9202, allocations: 174.4 kB / 1.125 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9203, allocations: 343 kB / 1.125 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/0.9209, allocations: 287.6 kB / 1.125 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.9215, allocations: 394.2 kB / 1.126 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.9226, allocations: 0.6566 MB / 1.126 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9226, allocations: 1.438 kB / 1.126 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002027/0.9247, allocations: 0.9138 MB / 1.127 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.9247, allocations: 11.56 kB / 1.127 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.9247, allocations: 3.219 kB / 1.127 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/0.9253, allocations: 83.05 kB / 1.127 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.9261, allocations: 181.6 kB / 1.128 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.9281, allocations: 1.622 MB / 1.129 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008653/0.929, allocations: 102.8 kB / 1.129 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.9291, allocations: 36.58 kB / 1.129 GB, free: 14.62 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0005345/0.9297, allocations: 302 kB / 1.13 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.9298, allocations: 93.72 kB / 1.13 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.9322, allocations: 1.13 MB / 1.131 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.9322, allocations: 10.59 kB / 1.131 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.9322, allocations: 5.062 kB / 1.131 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.9322, allocations: 4.266 kB / 1.131 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.9334, allocations: 1.045 MB / 1.132 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.9334, allocations: 0 / 1.132 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.9341, allocations: 158 kB / 1.132 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004417/0.9345, allocations: 73.23 kB / 1.132 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/0.9346, allocations: 26.66 kB / 1.132 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.9364, allocations: 1.661 MB / 1.134 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.9364, allocations: 2.344 kB / 1.134 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.9384, allocations: 0.9829 MB / 1.135 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.9388, allocations: 288.2 kB / 1.135 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.939, allocations: 20.25 kB / 1.135 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/0.9396, allocations: 67.55 kB / 1.135 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.9398, allocations: 79.62 kB / 1.135 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.9399, allocations: 38.12 kB / 1.135 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006586/0.9405, allocations: 0.5132 MB / 1.136 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9406, allocations: 0 / 1.136 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009412/0.9415, allocations: 361.9 kB / 1.136 GB, free: 12.17 MB / 0.8731 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 (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.001471/0.943, allocations: 0.5994 MB / 1.137 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.9448, allocations: 0.8858 MB / 1.137 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9448, allocations: 1.062 kB / 1.137 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009616/0.9458, allocations: 0.5454 MB / 1.138 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.9469, allocations: 304.1 kB / 1.138 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.9511, allocations: 2.069 MB / 1.14 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007676/0.9519, allocations: 1.116 MB / 1.141 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008939/0.9528, allocations: 275.2 kB / 1.142 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.9531, allocations: 113.7 kB / 1.142 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/0.9531, allocations: 0 / 1.142 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of Templates: time 0.02813/0.9812, allocations: 15.58 MB / 1.157 GB, free: 4.75 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches