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.001222/0.001226, allocations: 105.2 kB / 16.36 MB, free: 5.824 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.00114/0.001141, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.16 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 1.997/1.997, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.83 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2412, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002956/0.2442, allocations: 2.306 MB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6284/0.8726, allocations: 152 MB / 1.102 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.8728, allocations: 5.781 kB / 1.102 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.873, allocations: 44.75 kB / 1.102 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.8735, allocations: 101.7 kB / 1.102 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008292/0.8743, allocations: 302.8 kB / 1.102 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.8748, allocations: 428.2 kB / 1.103 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.875, allocations: 114.5 kB / 1.103 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.8762, allocations: 272.7 kB / 1.103 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.8765, allocations: 185.8 kB / 1.103 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.8766, allocations: 30.22 kB / 1.103 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005843/0.8771, allocations: 277.7 kB / 1.103 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.205e-05/0.8772, allocations: 79.44 kB / 1.104 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.8774, allocations: 164.7 kB / 1.104 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006619/0.8781, allocations: 0.4895 MB / 1.104 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8781, allocations: 5.094 kB / 1.104 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8781, allocations: 0 / 1.104 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.8781, allocations: 0.625 kB / 1.104 GB, free: 5.324 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.001483/0.8796, allocations: 0.7022 MB / 1.105 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.8797, allocations: 13.38 kB / 1.105 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.8823, allocations: 262.7 kB / 1.105 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.8827, allocations: 307.2 kB / 1.105 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.8828, allocations: 23.72 kB / 1.105 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.8828, allocations: 28.22 kB / 1.105 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.8842, allocations: 426.3 kB / 1.106 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.8842, allocations: 0 / 1.106 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.8843, allocations: 10.08 kB / 1.106 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.8843, allocations: 15.94 kB / 1.106 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.8864, allocations: 0.5287 MB / 1.106 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.8894, allocations: 1.122 MB / 1.108 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.8914, allocations: 458.9 kB / 1.108 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009684/0.8924, allocations: 231.1 kB / 1.108 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.8925, allocations: 8.281 kB / 1.108 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.8925, allocations: 32.06 kB / 1.108 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.8925, allocations: 0 / 1.108 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25): time 0.01445/0.907, allocations: 1.728 MB / 1.11 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.9071, allocations: 57.94 kB / 1.11 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.9074, allocations: 308.3 kB / 1.11 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.9075, allocations: 30.7 kB / 1.11 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.9076, allocations: 169.2 kB / 1.11 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.9076, allocations: 85.34 kB / 1.111 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.9078, allocations: 77.44 kB / 1.111 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.9079, allocations: 341.8 kB / 1.111 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009393/0.9089, allocations: 203.5 kB / 1.111 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009436/0.9098, allocations: 262.1 kB / 1.111 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.9116, allocations: 447.1 kB / 1.112 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.9116, allocations: 0 / 1.112 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006313/0.918, allocations: 0.8935 MB / 1.113 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.918, allocations: 5.969 kB / 1.113 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.918, allocations: 1.094 kB / 1.113 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.9196, allocations: 281.2 kB / 1.113 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.9201, allocations: 62.52 kB / 1.113 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.933, allocations: 4.091 MB / 1.117 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007967/0.9338, allocations: 75.08 kB / 1.117 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.9339, allocations: 21.14 kB / 1.117 GB, free: 15.94 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.0002013/0.9341, allocations: 143.3 kB / 1.117 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.9342, allocations: 30.97 kB / 1.117 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006496/0.9407, allocations: 0.9474 MB / 1.118 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.9407, allocations: 2.5 kB / 1.118 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.9407, allocations: 1.25 kB / 1.118 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.9407, allocations: 1.594 kB / 1.118 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.9412, allocations: 431.8 kB / 1.119 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.9412, allocations: 6.125 kB / 1.119 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.9415, allocations: 61.91 kB / 1.119 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.9431, allocations: 278.4 kB / 1.119 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.9432, allocations: 14.23 kB / 1.119 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/0.9556, allocations: 4.076 MB / 1.123 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9556, allocations: 1.188 kB / 1.123 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006108/0.9617, allocations: 0.9555 MB / 1.124 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.9618, allocations: 106.3 kB / 1.124 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.9619, allocations: 10.06 kB / 1.124 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.9626, allocations: 46.59 kB / 1.124 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.9627, allocations: 19.11 kB / 1.124 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.9627, allocations: 18.78 kB / 1.124 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002205/0.9629, allocations: 228.9 kB / 1.124 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9629, allocations: 0 / 1.124 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005852/0.9635, allocations: 123.4 kB / 1.124 GB, free: 12.23 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.0001823/0.9637, allocations: 120.3 kB / 1.125 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002375/0.9661, allocations: 0.7249 MB / 1.125 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.9661, allocations: 0 / 1.125 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.9674, allocations: 0.5002 MB / 1.126 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.0005512/0.968, allocations: 109.2 kB / 1.126 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.9701, allocations: 0.6869 MB / 1.126 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.9704, allocations: 0.7625 MB / 1.127 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003124/0.9708, allocations: 82.64 kB / 1.127 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.9709, allocations: 34.58 kB / 1.127 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.9709, allocations: 0 / 1.127 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of Templates: time 0.01679/0.9877, allocations: 13.55 MB / 1.141 GB, free: 8.266 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 cvode -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