Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001549/0.001549, allocations: 112.6 kB / 16.37 MB, free: 6 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.001759/0.001759, allocations: 196 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.469/2.469, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 68.7 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2619, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003494/0.2654, allocations: 2.314 MB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6105/0.8759, allocations: 152 MB / 1.177 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.8762, allocations: 8.312 kB / 1.177 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.8764, allocations: 46.25 kB / 1.177 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.8768, allocations: 105.2 kB / 1.178 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.8776, allocations: 296.7 kB / 1.178 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.878, allocations: 427.7 kB / 1.178 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.8782, allocations: 107.9 kB / 1.178 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.8794, allocations: 270.9 kB / 1.179 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.8796, allocations: 187.4 kB / 1.179 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.8797, allocations: 30.91 kB / 1.179 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000529/0.8802, allocations: 278.1 kB / 1.179 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.791e-05/0.8803, allocations: 86.97 kB / 1.179 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.8805, allocations: 155.1 kB / 1.179 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005803/0.8811, allocations: 0.497 MB / 1.18 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8811, allocations: 0 / 1.18 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8811, allocations: 0 / 1.18 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.8811, allocations: 1.281 kB / 1.18 GB, free: 6.785 MB / 0.8887 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.001437/0.8826, allocations: 0.6993 MB / 1.181 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.8826, allocations: 10.06 kB / 1.181 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/0.8854, allocations: 261.5 kB / 1.181 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.8858, allocations: 301 kB / 1.181 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.8858, allocations: 28.06 kB / 1.181 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/0.8859, allocations: 26.44 kB / 1.181 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.8873, allocations: 427.1 kB / 1.182 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.8873, allocations: 0 / 1.182 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.8874, allocations: 14.41 kB / 1.182 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.8874, allocations: 9.844 kB / 1.182 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.8897, allocations: 0.5214 MB / 1.182 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.8927, allocations: 1.133 MB / 1.183 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/0.8949, allocations: 465.1 kB / 1.184 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.896, allocations: 231.7 kB / 1.184 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.896, allocations: 7.312 kB / 1.184 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.8961, allocations: 39.66 kB / 1.184 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.8961, allocations: 0.9062 kB / 1.184 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of matching and sorting (n=25): time 0.01522/0.9113, allocations: 1.724 MB / 1.186 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.9114, allocations: 53.72 kB / 1.186 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.9117, allocations: 305.2 kB / 1.186 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.9118, allocations: 32.52 kB / 1.186 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.9119, allocations: 173.5 kB / 1.186 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.912, allocations: 85 kB / 1.186 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.9121, allocations: 82.17 kB / 1.186 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.9122, allocations: 338.8 kB / 1.187 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.9133, allocations: 203.3 kB / 1.187 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.9143, allocations: 263.6 kB / 1.187 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.9163, allocations: 445.4 kB / 1.187 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.9163, allocations: 2.344 kB / 1.187 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006722/0.923, allocations: 0.893 MB / 1.188 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.923, allocations: 5.094 kB / 1.188 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.923, allocations: 1.438 kB / 1.188 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/0.9249, allocations: 280 kB / 1.189 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.9254, allocations: 65.28 kB / 1.189 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/0.9393, allocations: 4.091 MB / 1.193 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008873/0.9402, allocations: 74.77 kB / 1.193 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.9403, allocations: 16.22 kB / 1.193 GB, free: 13.36 MB / 0.9044 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.0002123/0.9405, allocations: 150.5 kB / 1.193 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.9406, allocations: 30.94 kB / 1.193 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006798/0.9474, allocations: 0.9506 MB / 1.194 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9474, allocations: 2.625 kB / 1.194 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.9474, allocations: 0 / 1.194 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9474, allocations: 0 / 1.194 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.948, allocations: 420.8 kB / 1.194 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.948, allocations: 3.938 kB / 1.194 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.9484, allocations: 56.73 kB / 1.194 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.9501, allocations: 279.8 kB / 1.195 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.9502, allocations: 18.97 kB / 1.195 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/0.9635, allocations: 4.078 MB / 1.199 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9636, allocations: 0 / 1.199 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006654/0.9702, allocations: 0.9645 MB / 1.199 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.9704, allocations: 104.8 kB / 1.2 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.9704, allocations: 14.59 kB / 1.2 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/0.9711, allocations: 49.12 kB / 1.2 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.9712, allocations: 15.33 kB / 1.2 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.9713, allocations: 19.69 kB / 1.2 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002058/0.9715, allocations: 229.8 kB / 1.2 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9715, allocations: 4 kB / 1.2 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005589/0.9721, allocations: 120.9 kB / 1.2 GB, free: 7.664 MB / 0.9044 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.0001902/0.9723, allocations: 117.9 kB / 1.2 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002584/0.9749, allocations: 0.7171 MB / 1.201 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9749, allocations: 0 / 1.201 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.9763, allocations: 0.5031 MB / 1.201 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.9769, allocations: 100.9 kB / 1.201 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.9793, allocations: 0.6838 MB / 1.202 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.9795, allocations: 0.7663 MB / 1.203 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003419/0.9799, allocations: 82.92 kB / 1.203 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.98, allocations: 43.88 kB / 1.203 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of SimCode: time 1.603e-06/0.98, allocations: 0 / 1.203 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of Templates: time 0.01867/0.9987, allocations: 13.56 MB / 1.216 GB, free: 10.68 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches