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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 173 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.113/2.113, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8781 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.116e-05, allocations: 3.406 kB / 0.8781 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003192/0.003223, allocations: 2.295 MB / 0.8804 GB, free: 3.258 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.5614/0.5646, allocations: 147.6 MB / 1.025 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.5649, allocations: 7.156 kB / 1.025 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.5651, allocations: 48.33 kB / 1.025 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.5656, allocations: 105.8 kB / 1.025 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007822/0.5664, allocations: 306.6 kB / 1.025 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0005698/0.5669, allocations: 444.9 kB / 1.025 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.5671, allocations: 70.88 kB / 1.026 GB, free: 18.59 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.5685, allocations: 408.9 kB / 1.026 GB, free: 18.57 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.5689, allocations: 149.4 kB / 1.026 GB, free: 18.57 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/0.569, allocations: 30.66 kB / 1.026 GB, free: 18.57 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008096/0.5698, allocations: 270.1 kB / 1.026 GB, free: 18.57 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.5699, allocations: 80.41 kB / 1.026 GB, free: 18.57 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.5702, allocations: 114.6 kB / 1.027 GB, free: 18.57 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.5713, allocations: 448.9 kB / 1.027 GB, free: 18.54 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5713, allocations: 0.7188 kB / 1.027 GB, free: 18.54 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.216e-06/0.5713, allocations: 0.6562 kB / 1.027 GB, free: 18.54 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.063e-05/0.5713, allocations: 1.25 kB / 1.027 GB, free: 18.54 MB / 0.9323 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.001647/0.573, allocations: 0.7339 MB / 1.028 GB, free: 18.05 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/0.5731, allocations: 10 kB / 1.028 GB, free: 18.05 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.5748, allocations: 317.8 kB / 1.028 GB, free: 18.01 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.5754, allocations: 257.1 kB / 1.028 GB, free: 17.84 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.5755, allocations: 23.14 kB / 1.028 GB, free: 17.84 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.5755, allocations: 25.5 kB / 1.028 GB, free: 17.84 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.5763, allocations: 353.7 kB / 1.029 GB, free: 17.79 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5764, allocations: 7.688 kB / 1.029 GB, free: 17.79 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.5764, allocations: 10.44 kB / 1.029 GB, free: 17.79 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.5764, allocations: 6.719 kB / 1.029 GB, free: 17.79 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.577, allocations: 272.8 kB / 1.029 GB, free: 17.79 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.5788, allocations: 0.9232 MB / 1.03 GB, free: 17.45 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.5795, allocations: 270.4 kB / 1.03 GB, free: 17.41 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.5797, allocations: 107.1 kB / 1.03 GB, free: 17.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.5797, allocations: 10.3 kB / 1.03 GB, free: 17.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.5798, allocations: 38.16 kB / 1.03 GB, free: 17.36 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 3.286e-06/0.5798, allocations: 2.078 kB / 1.03 GB, free: 17.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.004318/0.5841, allocations: 0.8624 MB / 1.031 GB, free: 17.29 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.5841, allocations: 59.78 kB / 1.031 GB, free: 17.22 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.5843, allocations: 264.1 kB / 1.031 GB, free: 17.05 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.5843, allocations: 32.56 kB / 1.031 GB, free: 17.02 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.5844, allocations: 231.9 kB / 1.032 GB, free: 16.85 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.5845, allocations: 85.98 kB / 1.032 GB, free: 16.79 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.5846, allocations: 82.3 kB / 1.032 GB, free: 16.76 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.224e-05/0.5847, allocations: 0.5051 MB / 1.032 GB, free: 16.27 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.5849, allocations: 83.83 kB / 1.032 GB, free: 16.27 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.5851, allocations: 265.6 kB / 1.033 GB, free: 16.06 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.5855, allocations: 216.1 kB / 1.033 GB, free: 16.02 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5855, allocations: 1.156 kB / 1.033 GB, free: 16.02 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001866/0.5873, allocations: 0.5232 MB / 1.033 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5874, allocations: 6.188 kB / 1.033 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5874, allocations: 1.656 kB / 1.033 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.5887, allocations: 336.8 kB / 1.034 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.589, allocations: 64.03 kB / 1.034 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/0.5925, allocations: 3.918 MB / 1.038 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.5929, allocations: 46.02 kB / 1.038 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.5929, allocations: 17.8 kB / 1.038 GB, free: 12.46 MB / 0.9323 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.0001546/0.593, allocations: 169.7 kB / 1.038 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.5931, allocations: 38.78 kB / 1.038 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.5952, allocations: 0.5852 MB / 1.038 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5952, allocations: 2.625 kB / 1.038 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.5952, allocations: 0 / 1.038 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.5952, allocations: 3.047 kB / 1.038 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.5973, allocations: 0.8878 MB / 1.039 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5973, allocations: 1.906 kB / 1.039 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.5975, allocations: 51.58 kB / 1.039 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/0.5986, allocations: 338.8 kB / 1.04 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.5986, allocations: 17.83 kB / 1.04 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003021/0.6017, allocations: 3.916 MB / 1.043 GB, free: 8.367 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6017, allocations: 3.266 kB / 1.043 GB, free: 8.367 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.6035, allocations: 0.6583 MB / 1.044 GB, free: 8.117 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.6035, allocations: 28.2 kB / 1.044 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.6035, allocations: 8.109 kB / 1.044 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.6038, allocations: 25.38 kB / 1.044 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.6039, allocations: 22.7 kB / 1.044 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.6039, allocations: 16.78 kB / 1.044 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 9.73e-05/0.604, allocations: 192.8 kB / 1.044 GB, free: 7.977 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.604, allocations: 1.062 kB / 1.044 GB, free: 7.977 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000556/0.6046, allocations: 120.6 kB / 1.044 GB, free: 7.965 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001793/0.6047, allocations: 118.2 kB / 1.045 GB, free: 7.871 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008003/0.6055, allocations: 0.6174 MB / 1.045 GB, free: 7.516 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6055, allocations: 0 / 1.045 GB, free: 7.516 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004371/0.606, allocations: 0.5081 MB / 1.046 GB, free: 7.164 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.6064, allocations: 98.48 kB / 1.046 GB, free: 7.148 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.6077, allocations: 0.5738 MB / 1.046 GB, free: 6.852 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.146e-05/0.6077, allocations: 94.56 kB / 1.046 GB, free: 6.781 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002881/0.608, allocations: 74.98 kB / 1.047 GB, free: 6.773 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.6081, allocations: 33.14 kB / 1.047 GB, free: 6.766 MB / 0.9323 GB Notification: Performance of SimCode: time 1.533e-06/0.6081, allocations: 0 / 1.047 GB, free: 6.766 MB / 0.9323 GB Notification: Performance of Templates: time 0.01857/0.6267, allocations: 13.61 MB / 1.06 GB, free: 5.359 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.344898312119767]