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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001548/0.001548, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001785/0.001785, allocations: 197.7 kB / 16.26 MB, free: 6.625 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 71.83 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6863/0.6876, allocations: 140.3 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003713/0.6914, allocations: 2.361 MB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1715/0.8628, allocations: 149.8 MB / 1.098 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003283/0.8632, allocations: 8 kB / 1.098 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.8635, allocations: 31.66 kB / 1.098 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000485/0.864, allocations: 83.38 kB / 1.098 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008221/0.8649, allocations: 279.2 kB / 1.098 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.8654, allocations: 423.8 kB / 1.098 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.8657, allocations: 109.7 kB / 1.099 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/0.8677, allocations: 290.2 kB / 1.099 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.868, allocations: 179.3 kB / 1.099 GB, free: 8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.8681, allocations: 31.94 kB / 1.099 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005391/0.8687, allocations: 283.6 kB / 1.099 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.8688, allocations: 75.8 kB / 1.099 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.8689, allocations: 159.2 kB / 1.1 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006716/0.8696, allocations: 494.5 kB / 1.1 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8696, allocations: 4 kB / 1.1 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8697, allocations: 0 / 1.1 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.8697, allocations: 0 / 1.1 GB, free: 6.973 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.001569/0.8712, allocations: 0.7017 MB / 1.101 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.8713, allocations: 8.031 kB / 1.101 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.8743, allocations: 263.4 kB / 1.101 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.8748, allocations: 303.2 kB / 1.101 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.8748, allocations: 20.56 kB / 1.101 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.8749, allocations: 28 kB / 1.101 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.8764, allocations: 428.5 kB / 1.102 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.8764, allocations: 0 / 1.102 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-05/0.8765, allocations: 12 kB / 1.102 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.8765, allocations: 7.938 kB / 1.102 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.8789, allocations: 0.5213 MB / 1.102 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.8821, allocations: 1.136 MB / 1.103 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.8845, allocations: 466.3 kB / 1.104 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.8856, allocations: 228.7 kB / 1.104 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.8856, allocations: 0 / 1.104 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.8857, allocations: 42.56 kB / 1.104 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.8857, allocations: 3.938 kB / 1.104 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01679/0.9025, allocations: 1.721 MB / 1.106 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.9025, allocations: 55.41 kB / 1.106 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.9029, allocations: 312.4 kB / 1.106 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.903, allocations: 33.7 kB / 1.106 GB, free: 488 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.9031, allocations: 168.2 kB / 1.106 GB, free: 316 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.631e-05/0.9032, allocations: 90.73 kB / 1.106 GB, free: 224 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.9034, allocations: 77.83 kB / 1.106 GB, free: 140 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9035, allocations: 342.8 kB / 1.107 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.9046, allocations: 204.4 kB / 1.107 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.9057, allocations: 259 kB / 1.107 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.9079, allocations: 438.7 kB / 1.108 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9079, allocations: 0 / 1.108 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007444/0.9153, allocations: 0.8888 MB / 1.109 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.9154, allocations: 4.938 kB / 1.109 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.9154, allocations: 0 / 1.109 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.9173, allocations: 277.4 kB / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.9178, allocations: 67.94 kB / 1.109 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/0.933, allocations: 4.089 MB / 1.113 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009019/0.9339, allocations: 83.56 kB / 1.113 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.9339, allocations: 15.97 kB / 1.113 GB, free: 9.168 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.0002077/0.9342, allocations: 145.8 kB / 1.113 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.9343, allocations: 27.62 kB / 1.113 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007673/0.9419, allocations: 0.9512 MB / 1.114 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.942, allocations: 4 kB / 1.114 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.942, allocations: 3.984 kB / 1.114 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.942, allocations: 3.938 kB / 1.114 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005389/0.9425, allocations: 432.7 kB / 1.114 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.9425, allocations: 4 kB / 1.114 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.943, allocations: 51.94 kB / 1.114 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.9449, allocations: 277.3 kB / 1.115 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.9449, allocations: 15.97 kB / 1.115 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01511/0.9601, allocations: 4.08 MB / 1.119 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.9601, allocations: 0 / 1.119 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007368/0.9675, allocations: 0.966 MB / 1.12 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.9676, allocations: 108.7 kB / 1.12 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/0.9677, allocations: 8 kB / 1.12 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/0.9685, allocations: 47.89 kB / 1.12 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.9686, allocations: 19.97 kB / 1.12 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.9686, allocations: 15.92 kB / 1.12 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002439/0.9689, allocations: 231 kB / 1.12 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9689, allocations: 3.938 kB / 1.12 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006111/0.9695, allocations: 115.9 kB / 1.12 GB, free: 1.289 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.0002511/0.9697, allocations: 119.2 kB / 1.12 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002841/0.9726, allocations: 0.7274 MB / 1.121 GB, free: 416 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.9726, allocations: 0 / 1.121 GB, free: 416 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.9741, allocations: 0.5089 MB / 1.122 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.9748, allocations: 109.2 kB / 1.122 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.9774, allocations: 0.7781 MB / 1.122 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.9777, allocations: 0.7723 MB / 1.123 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004651/0.9782, allocations: 74.89 kB / 1.123 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.9783, allocations: 31.42 kB / 1.123 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of SimCode: time 1.272e-06/0.9783, allocations: 0 / 1.123 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of Templates: time 0.01854/0.9969, allocations: 13.45 MB / 1.136 GB, free: 0.668 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches