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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001823/0.001823, allocations: 108 kB / 15.61 MB, free: 148 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.002045/0.002045, allocations: 191.6 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.727/2.727, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 62.38 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2789, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003807/0.2827, allocations: 2.296 MB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1488/0.4316, allocations: 152 MB / 1.219 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.432, allocations: 4 kB / 1.219 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.4323, allocations: 47.45 kB / 1.219 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.4327, allocations: 103.1 kB / 1.219 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.4335, allocations: 307 kB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.4339, allocations: 419.8 kB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.4341, allocations: 108.5 kB / 1.22 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.4355, allocations: 282.9 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.4358, allocations: 179.3 kB / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.4359, allocations: 32 kB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000762/0.4367, allocations: 279.6 kB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.4368, allocations: 83.72 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.437, allocations: 159.2 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007388/0.4378, allocations: 490.5 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4378, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4378, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.4378, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 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.001615/0.4394, allocations: 0.7017 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4395, allocations: 8.031 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.4423, allocations: 259.5 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.4427, allocations: 307.2 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4427, allocations: 20.56 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.4428, allocations: 31.94 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.4442, allocations: 428.5 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4443, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.4443, allocations: 16 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.4443, allocations: 11.88 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.4467, allocations: 0.5213 MB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.4499, allocations: 1.124 MB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.4522, allocations: 467.5 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.4533, allocations: 233.3 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.4534, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.4534, allocations: 42.5 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.4534, allocations: 0 / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.01606/0.4695, allocations: 1.729 MB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4696, allocations: 51.41 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.4699, allocations: 304.6 kB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.47, allocations: 33.69 kB / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.4701, allocations: 164.2 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.199e-05/0.4702, allocations: 90.73 kB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.4704, allocations: 69.92 kB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4705, allocations: 350.8 kB / 1.228 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.4716, allocations: 200.4 kB / 1.228 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.4727, allocations: 266.8 kB / 1.228 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/0.4749, allocations: 434.8 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4749, allocations: 0 / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007145/0.482, allocations: 0.8927 MB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4821, allocations: 4 kB / 1.23 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4821, allocations: 3.984 kB / 1.23 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/0.484, allocations: 277.4 kB / 1.23 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.4846, allocations: 63.89 kB / 1.23 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.4994, allocations: 4.106 MB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008726/0.5003, allocations: 79.62 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.741e-05/0.5004, allocations: 15.97 kB / 1.234 GB, free: 15.28 MB / 0.9981 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.0002112/0.5007, allocations: 141.8 kB / 1.234 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/0.5008, allocations: 27.62 kB / 1.234 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007327/0.5081, allocations: 0.9585 MB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.5081, allocations: 4 kB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5081, allocations: 0 / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.5081, allocations: 0 / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.5087, allocations: 428.8 kB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5087, allocations: 4 kB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.5091, allocations: 55.88 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.511, allocations: 277.4 kB / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.511, allocations: 15.97 kB / 1.236 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.5251, allocations: 4.084 MB / 1.24 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5251, allocations: 0 / 1.24 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006832/0.532, allocations: 0.9627 MB / 1.241 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.223e-05/0.5321, allocations: 108.7 kB / 1.241 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.5322, allocations: 8 kB / 1.241 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000735/0.5329, allocations: 43.95 kB / 1.241 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.533, allocations: 19.97 kB / 1.241 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.533, allocations: 15.92 kB / 1.241 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002151/0.5333, allocations: 235 kB / 1.241 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.61e-07/0.5333, allocations: 4 kB / 1.241 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005563/0.5338, allocations: 112 kB / 1.241 GB, free: 7.41 MB / 0.9981 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.0001942/0.534, allocations: 123.2 kB / 1.242 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002745/0.5368, allocations: 0.7438 MB / 1.242 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5368, allocations: 0 / 1.242 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.5384, allocations: 0.4977 MB / 1.243 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.539, allocations: 109.2 kB / 1.243 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.5415, allocations: 0.6949 MB / 1.244 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.5418, allocations: 0.7723 MB / 1.244 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004562/0.5423, allocations: 78.88 kB / 1.244 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.5424, allocations: 31.42 kB / 1.244 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.5424, allocations: 4 kB / 1.244 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of Templates: time 0.4472/0.9896, allocations: 13.53 MB / 1.258 GB, free: 184.3 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches