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.001603/0.001603, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001764/0.001764, allocations: 209.1 kB / 22.99 MB, free: 4.984 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.143/3.143, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.001983/0.001983, allocations: 72.08 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3056, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003702/0.3093, allocations: 2.19 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.4809, allocations: 133.6 MB / 1.46 GB, free: 8.695 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.4811, allocations: 7.938 kB / 1.46 GB, free: 8.688 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.4813, allocations: 43.47 kB / 1.46 GB, free: 8.645 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.4816, allocations: 107.2 kB / 1.46 GB, free: 8.539 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000738/0.4824, allocations: 299 kB / 1.46 GB, free: 8.246 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.4828, allocations: 435.6 kB / 1.461 GB, free: 7.812 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.483, allocations: 80.25 kB / 1.461 GB, free: 7.73 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.4845, allocations: 289.2 kB / 1.461 GB, free: 7.473 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.4848, allocations: 191.2 kB / 1.461 GB, free: 7.285 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/0.4849, allocations: 32 kB / 1.461 GB, free: 7.254 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000514/0.4854, allocations: 271.6 kB / 1.461 GB, free: 6.988 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 9.125e-05/0.4855, allocations: 71.75 kB / 1.461 GB, free: 6.918 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.4856, allocations: 143.3 kB / 1.462 GB, free: 6.777 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0006776/0.4863, allocations: 0.4981 MB / 1.462 GB, free: 6.277 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.4863, allocations: 0 / 1.462 GB, free: 6.277 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4863, allocations: 0 / 1.462 GB, free: 6.277 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4863, allocations: 3.938 kB / 1.462 GB, free: 6.273 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.001544/0.4879, allocations: 0.6336 MB / 1.463 GB, free: 5.609 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.4879, allocations: 8.031 kB / 1.463 GB, free: 5.602 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.4916, allocations: 287.6 kB / 1.463 GB, free: 5.32 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.4921, allocations: 245.6 kB / 1.463 GB, free: 5.055 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.4921, allocations: 20.66 kB / 1.463 GB, free: 5.035 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.4922, allocations: 31.98 kB / 1.463 GB, free: 5.004 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.4939, allocations: 429.7 kB / 1.464 GB, free: 4.578 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4939, allocations: 3.938 kB / 1.464 GB, free: 4.574 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.4939, allocations: 12 kB / 1.464 GB, free: 4.562 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4939, allocations: 7.938 kB / 1.464 GB, free: 4.555 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.4967, allocations: 0.5256 MB / 1.464 GB, free: 4.027 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.5, allocations: 0.9523 MB / 1.465 GB, free: 3.043 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.5027, allocations: 450.6 kB / 1.466 GB, free: 2.594 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.5039, allocations: 212.7 kB / 1.466 GB, free: 2.383 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.504, allocations: 8 kB / 1.466 GB, free: 2.375 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.504, allocations: 38.56 kB / 1.466 GB, free: 2.328 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 2.755e-06/0.504, allocations: 0 / 1.466 GB, free: 2.328 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.01965/0.5236, allocations: 1.57 MB / 1.467 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.5237, allocations: 55.41 kB / 1.467 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.5239, allocations: 216.9 kB / 1.468 GB, free: 472 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.524, allocations: 33.7 kB / 1.468 GB, free: 432 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.5242, allocations: 188.5 kB / 1.468 GB, free: 240 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.5243, allocations: 87.22 kB / 1.468 GB, free: 152 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.5244, allocations: 77.92 kB / 1.468 GB, free: 64 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5246, allocations: 330.8 kB / 1.468 GB, free: 15.73 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.5258, allocations: 200.3 kB / 1.468 GB, free: 15.54 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.5271, allocations: 361.8 kB / 1.469 GB, free: 15.14 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.5295, allocations: 438.8 kB / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.5295, allocations: 7.938 kB / 1.469 GB, free: 14.69 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.008245/0.5377, allocations: 0.8812 MB / 1.47 GB, free: 13.8 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5377, allocations: 8 kB / 1.47 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5377, allocations: 4 kB / 1.47 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00216/0.5399, allocations: 273.4 kB / 1.47 GB, free: 13.51 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.5404, allocations: 71.88 kB / 1.47 GB, free: 13.44 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/0.5579, allocations: 3.818 MB / 1.474 GB, free: 9.418 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009477/0.5589, allocations: 59.94 kB / 1.474 GB, free: 9.359 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.5589, allocations: 23.95 kB / 1.474 GB, free: 9.336 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.0002247/0.5591, allocations: 141.7 kB / 1.474 GB, free: 9.188 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.5592, allocations: 27.81 kB / 1.474 GB, free: 9.16 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00872/0.568, allocations: 0.9339 MB / 1.475 GB, free: 8.219 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.568, allocations: 4 kB / 1.475 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.568, allocations: 3.938 kB / 1.475 GB, free: 8.211 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.568, allocations: 0 / 1.475 GB, free: 8.211 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.5685, allocations: 308.7 kB / 1.476 GB, free: 7.879 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5685, allocations: 0 / 1.476 GB, free: 7.879 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.569, allocations: 55.95 kB / 1.476 GB, free: 7.824 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/0.5711, allocations: 281.4 kB / 1.476 GB, free: 7.543 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.5711, allocations: 11.97 kB / 1.476 GB, free: 7.531 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/0.5878, allocations: 3.809 MB / 1.48 GB, free: 3.516 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5878, allocations: 0 / 1.48 GB, free: 3.516 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008513/0.5964, allocations: 0.9464 MB / 1.481 GB, free: 2.547 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.5964, allocations: 39.72 kB / 1.481 GB, free: 2.508 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.5965, allocations: 0 / 1.481 GB, free: 2.508 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008548/0.5974, allocations: 43.95 kB / 1.481 GB, free: 2.465 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.5975, allocations: 19.97 kB / 1.481 GB, free: 2.445 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.5975, allocations: 19.97 kB / 1.481 GB, free: 2.426 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001934/0.5977, allocations: 164.5 kB / 1.481 GB, free: 2.262 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5977, allocations: 0 / 1.481 GB, free: 2.262 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000638/0.5983, allocations: 123.8 kB / 1.481 GB, free: 2.141 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.0002306/0.5986, allocations: 124.1 kB / 1.481 GB, free: 2.012 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003127/0.6017, allocations: 0.7156 MB / 1.482 GB, free: 1.27 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6017, allocations: 0 / 1.482 GB, free: 1.27 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.6034, allocations: 0.4893 MB / 1.482 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.6039, allocations: 74.34 kB / 1.482 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.6068, allocations: 0.6849 MB / 1.483 GB, free: 15.97 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.607, allocations: 167.7 kB / 1.483 GB, free: 15.79 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003554/0.6074, allocations: 70.19 kB / 1.483 GB, free: 15.72 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.6075, allocations: 27.42 kB / 1.483 GB, free: 15.69 MB / 1.186 GB Notification: Performance of SimCode: time 6.41e-07/0.6075, allocations: 0 / 1.483 GB, free: 15.69 MB / 1.186 GB Notification: Performance of Templates: time 0.02076/0.6282, allocations: 13.86 MB / 1.497 GB, free: 1.945 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 -s gbode -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: 9.3453229930019]