Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001736/0.001736, allocations: 104.2 kB / 19.74 MB, free: 2.07 MB / 14.72 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.002104/0.002104, allocations: 214.7 kB / 23.04 MB, free: 4.867 MB / 14.72 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.154/3.154, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 68.06 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3494, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004141/0.3536, allocations: 2.196 MB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1872/0.5408, allocations: 133.6 MB / 1.46 GB, free: 8.609 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.5411, allocations: 7.938 kB / 1.46 GB, free: 8.602 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.5413, allocations: 55.45 kB / 1.46 GB, free: 8.547 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.5418, allocations: 95.19 kB / 1.46 GB, free: 8.453 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000922/0.5427, allocations: 306.9 kB / 1.46 GB, free: 8.152 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.5432, allocations: 431.7 kB / 1.461 GB, free: 7.723 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.5434, allocations: 72.27 kB / 1.461 GB, free: 7.648 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.5451, allocations: 290.7 kB / 1.461 GB, free: 7.387 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.5453, allocations: 171.2 kB / 1.461 GB, free: 7.219 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.65e-05/0.5454, allocations: 32 kB / 1.461 GB, free: 7.188 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.546, allocations: 267.6 kB / 1.461 GB, free: 6.926 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.5461, allocations: 79.72 kB / 1.461 GB, free: 6.848 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.5462, allocations: 135.4 kB / 1.462 GB, free: 6.715 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007656/0.547, allocations: 498.1 kB / 1.462 GB, free: 6.227 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.547, allocations: 0 / 1.462 GB, free: 6.227 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.124e-06/0.547, allocations: 3.938 kB / 1.462 GB, free: 6.223 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.547, allocations: 0 / 1.462 GB, free: 6.223 MB / 1.154 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.001592/0.5486, allocations: 0.6453 MB / 1.463 GB, free: 5.547 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.5487, allocations: 12.03 kB / 1.463 GB, free: 5.535 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.5515, allocations: 287.6 kB / 1.463 GB, free: 5.254 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.552, allocations: 241.6 kB / 1.463 GB, free: 4.992 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.5521, allocations: 20.66 kB / 1.463 GB, free: 4.973 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.5521, allocations: 32 kB / 1.463 GB, free: 4.941 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.5536, allocations: 429.8 kB / 1.464 GB, free: 4.516 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.5536, allocations: 4 kB / 1.464 GB, free: 4.512 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.5536, allocations: 11.94 kB / 1.464 GB, free: 4.5 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.5537, allocations: 11.94 kB / 1.464 GB, free: 4.488 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.5559, allocations: 0.5255 MB / 1.464 GB, free: 3.961 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.5589, allocations: 0.9523 MB / 1.465 GB, free: 2.977 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.561, allocations: 438.4 kB / 1.466 GB, free: 2.539 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009696/0.562, allocations: 224.6 kB / 1.466 GB, free: 2.316 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.562, allocations: 3.938 kB / 1.466 GB, free: 2.312 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.5621, allocations: 38.56 kB / 1.466 GB, free: 2.266 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 2.675e-06/0.5621, allocations: 0 / 1.466 GB, free: 2.266 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.01484/0.5769, allocations: 1.57 MB / 1.467 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.577, allocations: 63.41 kB / 1.467 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.5773, allocations: 216.9 kB / 1.468 GB, free: 400 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/0.5773, allocations: 29.7 kB / 1.468 GB, free: 364 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.5775, allocations: 180.5 kB / 1.468 GB, free: 180 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.5776, allocations: 95.2 kB / 1.468 GB, free: 84 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.5778, allocations: 69.92 kB / 1.468 GB, free: 4 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.578, allocations: 334.8 kB / 1.468 GB, free: 15.67 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.5791, allocations: 204.4 kB / 1.469 GB, free: 15.47 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.5803, allocations: 357.8 kB / 1.469 GB, free: 15.07 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.5823, allocations: 442.8 kB / 1.469 GB, free: 14.63 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.5823, allocations: 3.938 kB / 1.469 GB, free: 14.63 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006849/0.5892, allocations: 0.8852 MB / 1.47 GB, free: 13.73 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.5892, allocations: 4 kB / 1.47 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.5892, allocations: 4 kB / 1.47 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.5911, allocations: 281.4 kB / 1.47 GB, free: 13.44 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.5916, allocations: 63.94 kB / 1.47 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.6063, allocations: 3.822 MB / 1.474 GB, free: 9.352 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008779/0.6071, allocations: 55.91 kB / 1.474 GB, free: 9.297 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.6072, allocations: 19.97 kB / 1.474 GB, free: 9.277 MB / 1.17 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.0002269/0.6074, allocations: 145.7 kB / 1.474 GB, free: 9.125 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.6075, allocations: 23.81 kB / 1.474 GB, free: 9.102 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007005/0.6145, allocations: 0.9455 MB / 1.475 GB, free: 8.148 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.6145, allocations: 4 kB / 1.475 GB, free: 8.145 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6145, allocations: 0 / 1.475 GB, free: 8.145 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.6145, allocations: 0 / 1.475 GB, free: 8.145 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006137/0.6152, allocations: 308.8 kB / 1.476 GB, free: 7.812 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.6152, allocations: 0 / 1.476 GB, free: 7.812 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.6156, allocations: 55.89 kB / 1.476 GB, free: 7.758 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.6174, allocations: 273.4 kB / 1.476 GB, free: 7.484 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/0.6174, allocations: 19.97 kB / 1.476 GB, free: 7.465 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/0.6317, allocations: 3.797 MB / 1.48 GB, free: 3.461 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6317, allocations: 3.938 kB / 1.48 GB, free: 3.457 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006918/0.6387, allocations: 0.9582 MB / 1.481 GB, free: 2.477 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.6387, allocations: 27.73 kB / 1.481 GB, free: 2.449 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/0.6388, allocations: 8 kB / 1.481 GB, free: 2.441 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.6395, allocations: 43.95 kB / 1.481 GB, free: 2.398 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.787e-05/0.6396, allocations: 27.89 kB / 1.481 GB, free: 2.371 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.6397, allocations: 11.97 kB / 1.481 GB, free: 2.359 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001829/0.6398, allocations: 164.5 kB / 1.481 GB, free: 2.195 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6398, allocations: 0 / 1.481 GB, free: 2.195 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006453/0.6405, allocations: 131.8 kB / 1.481 GB, free: 2.066 MB / 1.17 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.0002438/0.6407, allocations: 123.4 kB / 1.481 GB, free: 1.938 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002869/0.6436, allocations: 0.7078 MB / 1.482 GB, free: 1.203 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6436, allocations: 0 / 1.482 GB, free: 1.203 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.6452, allocations: 493.2 kB / 1.482 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.6457, allocations: 78.17 kB / 1.482 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.6484, allocations: 0.7248 MB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.6486, allocations: 159.7 kB / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.6488, allocations: 35.41 kB / 1.483 GB, free: 15.65 MB / 1.186 GB Notification: Performance of SimCode: time 1.483e-06/0.6488, allocations: 0 / 1.483 GB, free: 15.65 MB / 1.186 GB Notification: Performance of Templates: time 0.01233/0.6611, allocations: 7.902 MB / 1.491 GB, free: 7.758 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.701319542014971]