Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 92.16 kB / 16.02 MB, free: 80 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.001388/0.001388, allocations: 173 kB / 16.92 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.309 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.566/2.566, allocations: 390.9 MB / 0.667 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6517/0.6521, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002204/0.6543, allocations: 1.991 MB / 0.9576 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.823, allocations: 148.1 MB / 1.102 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.8234, allocations: 4 kB / 1.102 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.8236, allocations: 31.66 kB / 1.102 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.8242, allocations: 83.39 kB / 1.102 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009446/0.8251, allocations: 263.2 kB / 1.103 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005563/0.8257, allocations: 403.8 kB / 1.103 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.826, allocations: 101.7 kB / 1.103 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.828, allocations: 252.9 kB / 1.103 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.8284, allocations: 163.3 kB / 1.104 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.8284, allocations: 12 kB / 1.104 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005876/0.829, allocations: 263.6 kB / 1.104 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.8291, allocations: 59.75 kB / 1.104 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.8293, allocations: 160.9 kB / 1.104 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.8298, allocations: 339.2 kB / 1.104 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8298, allocations: 3.938 kB / 1.104 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8298, allocations: 0 / 1.104 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.8298, allocations: 0 / 1.104 GB, free: 6.617 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001476/0.8313, allocations: 0.6666 MB / 1.105 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.8314, allocations: 8.031 kB / 1.105 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.8341, allocations: 259.5 kB / 1.105 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.8346, allocations: 295.2 kB / 1.106 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.8346, allocations: 24.56 kB / 1.106 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.8347, allocations: 28 kB / 1.106 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.8362, allocations: 436.5 kB / 1.106 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.8362, allocations: 0 / 1.106 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.8362, allocations: 12 kB / 1.106 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.8362, allocations: 7.938 kB / 1.106 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.8385, allocations: 0.5291 MB / 1.107 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.8416, allocations: 1.144 MB / 1.108 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.8438, allocations: 462.3 kB / 1.108 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.8448, allocations: 232.7 kB / 1.108 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.8449, allocations: 7.984 kB / 1.108 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.8449, allocations: 34.56 kB / 1.108 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 2.424e-06/0.845, allocations: 0 / 1.108 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01583/0.8608, allocations: 1.713 MB / 1.11 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.8609, allocations: 55.41 kB / 1.11 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004073/0.8613, allocations: 312.4 kB / 1.11 GB, free: 196 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.805e-05/0.8614, allocations: 33.7 kB / 1.11 GB, free: 156 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.8616, allocations: 168.2 kB / 1.111 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.8617, allocations: 86.75 kB / 1.111 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.8618, allocations: 29.7 kB / 1.111 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8619, allocations: 346.7 kB / 1.111 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.863, allocations: 204.4 kB / 1.111 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.864, allocations: 263 kB / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.866, allocations: 454.6 kB / 1.112 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8661, allocations: 4 kB / 1.112 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006954/0.873, allocations: 0.881 MB / 1.113 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.8731, allocations: 4 kB / 1.113 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.8731, allocations: 7.984 kB / 1.113 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/0.875, allocations: 277.4 kB / 1.113 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.8756, allocations: 75.88 kB / 1.113 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.8892, allocations: 3.772 MB / 1.117 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009053/0.8901, allocations: 83.47 kB / 1.117 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/0.8903, allocations: 15.97 kB / 1.117 GB, free: 9.191 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002627/0.8905, allocations: 149.7 kB / 1.117 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.024e-05/0.8906, allocations: 27.62 kB / 1.117 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007201/0.8978, allocations: 0.9434 MB / 1.118 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.8979, allocations: 4 kB / 1.118 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8979, allocations: 3.938 kB / 1.118 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.8979, allocations: 3.984 kB / 1.118 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.8985, allocations: 428.8 kB / 1.118 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.8985, allocations: 4 kB / 1.118 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.899, allocations: 59.89 kB / 1.118 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/0.9008, allocations: 281.4 kB / 1.119 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.9008, allocations: 11.97 kB / 1.119 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/0.9142, allocations: 3.762 MB / 1.122 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9142, allocations: 8.047 kB / 1.122 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007039/0.9213, allocations: 0.9543 MB / 1.123 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.9214, allocations: 112.6 kB / 1.123 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.9215, allocations: 8 kB / 1.123 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007397/0.9223, allocations: 43.95 kB / 1.123 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.9224, allocations: 23.91 kB / 1.124 GB, free: 2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/0.9224, allocations: 15.97 kB / 1.124 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00025/0.9227, allocations: 231.1 kB / 1.124 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9227, allocations: 0 / 1.124 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006036/0.9233, allocations: 115.9 kB / 1.124 GB, free: 1.648 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002128/0.9235, allocations: 119.2 kB / 1.124 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00271/0.9262, allocations: 0.7312 MB / 1.125 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9262, allocations: 0 / 1.125 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.9277, allocations: 0.5051 MB / 1.125 GB, free: 236 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.9284, allocations: 94.86 kB / 1.125 GB, free: 140 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.9309, allocations: 0.8248 MB / 1.126 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.9314, allocations: 0.7684 MB / 1.127 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.9316, allocations: 39.41 kB / 1.127 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of SimCode: time 9.12e-07/0.9316, allocations: 0 / 1.127 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of Templates: time 0.01238/0.944, allocations: 8.24 MB / 1.135 GB, free: 6.219 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches