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.001335/0.001335, allocations: 111 kB / 16.37 MB, free: 6.012 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.00136/0.00136, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.19 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.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.75 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2533, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.005437/0.2588, allocations: 2.306 MB / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6471/0.9059, allocations: 152 MB / 1.102 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.9063, allocations: 5.875 kB / 1.102 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.9065, allocations: 46.88 kB / 1.102 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.9071, allocations: 102.5 kB / 1.102 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.9085, allocations: 303.7 kB / 1.102 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000731/0.9092, allocations: 433.3 kB / 1.103 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.9095, allocations: 102.7 kB / 1.103 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.9112, allocations: 275.6 kB / 1.103 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.9116, allocations: 186.9 kB / 1.103 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/0.9117, allocations: 30.34 kB / 1.103 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009603/0.9127, allocations: 277.4 kB / 1.103 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.9128, allocations: 81.27 kB / 1.104 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.9132, allocations: 163.9 kB / 1.104 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.9143, allocations: 499.7 kB / 1.104 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9143, allocations: 0 / 1.104 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9143, allocations: 1.125 kB / 1.104 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.9143, allocations: 0 / 1.104 GB, free: 5.727 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.002101/0.9164, allocations: 0.7019 MB / 1.105 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.9165, allocations: 10.81 kB / 1.105 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003892/0.9204, allocations: 269.2 kB / 1.105 GB, free: 21.2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/0.921, allocations: 303.9 kB / 1.105 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.9211, allocations: 22.72 kB / 1.105 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.261e-05/0.9212, allocations: 29.02 kB / 1.105 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.9233, allocations: 426.9 kB / 1.106 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.9233, allocations: 3.312 kB / 1.106 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/0.9234, allocations: 14.98 kB / 1.106 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.9234, allocations: 9.625 kB / 1.106 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003139/0.9265, allocations: 0.5243 MB / 1.106 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004298/0.9308, allocations: 1.129 MB / 1.108 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.9339, allocations: 460 kB / 1.108 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.9353, allocations: 226 kB / 1.108 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-05/0.9353, allocations: 4.25 kB / 1.108 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.9354, allocations: 40.14 kB / 1.108 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 3.406e-06/0.9354, allocations: 0 / 1.108 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25): time 0.02047/0.9559, allocations: 1.728 MB / 1.11 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.956, allocations: 53.53 kB / 1.11 GB, free: 20.06 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005617/0.9565, allocations: 304.7 kB / 1.11 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.9567, allocations: 34.05 kB / 1.11 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.9568, allocations: 172.5 kB / 1.11 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.957, allocations: 88.48 kB / 1.111 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.9573, allocations: 75.42 kB / 1.111 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9574, allocations: 341.9 kB / 1.111 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.9588, allocations: 202 kB / 1.111 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.9602, allocations: 261.2 kB / 1.111 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/0.9629, allocations: 444.1 kB / 1.112 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9629, allocations: 0 / 1.112 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.008833/0.9717, allocations: 0.8911 MB / 1.113 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.9718, allocations: 5.219 kB / 1.113 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.9718, allocations: 1.031 kB / 1.113 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.9742, allocations: 282.4 kB / 1.113 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007416/0.975, allocations: 65.64 kB / 1.113 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/0.9902, allocations: 4.094 MB / 1.117 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009183/0.9911, allocations: 75.95 kB / 1.117 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.9912, allocations: 21.41 kB / 1.117 GB, free: 16.34 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.0002614/0.9915, allocations: 140.7 kB / 1.117 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.9916, allocations: 31.64 kB / 1.117 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007044/0.9987, allocations: 0.9485 MB / 1.118 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.9987, allocations: 2.688 kB / 1.118 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9987, allocations: 1.219 kB / 1.118 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.9987, allocations: 0 / 1.118 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006317/0.9994, allocations: 429.4 kB / 1.119 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.9994, allocations: 5.141 kB / 1.119 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.9998, allocations: 56.14 kB / 1.119 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/1.002, allocations: 279.4 kB / 1.119 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/1.002, allocations: 13.89 kB / 1.119 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/1.015, allocations: 4.082 MB / 1.123 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.015, allocations: 4.266 kB / 1.123 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006876/1.022, allocations: 0.9497 MB / 1.124 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/1.023, allocations: 115.7 kB / 1.124 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.023, allocations: 5.281 kB / 1.124 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/1.023, allocations: 50.08 kB / 1.124 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.024, allocations: 18.19 kB / 1.124 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/1.024, allocations: 19.83 kB / 1.124 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002561/1.024, allocations: 232.5 kB / 1.124 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/1.024, allocations: 0 / 1.124 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007055/1.025, allocations: 118.1 kB / 1.124 GB, free: 12.63 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.0002527/1.025, allocations: 126.5 kB / 1.125 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002728/1.028, allocations: 0.7199 MB / 1.125 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.028, allocations: 0 / 1.125 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/1.029, allocations: 0.5012 MB / 1.126 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/1.03, allocations: 104.2 kB / 1.126 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/1.032, allocations: 0.6888 MB / 1.126 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/1.033, allocations: 0.7681 MB / 1.127 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000397/1.033, allocations: 79.69 kB / 1.127 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/1.033, allocations: 34.94 kB / 1.127 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/1.033, allocations: 0 / 1.127 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.02411/1.058, allocations: 13.55 MB / 1.141 GB, free: 8.727 MB / 0.8731 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 -s gbode -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