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.001808/0.001808, 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.0022/0.0022, allocations: 209.6 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.278/3.278, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002042/0.002042, allocations: 68.67 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003781/0.3488, allocations: 2.192 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.175/0.5238, allocations: 133.6 MB / 1.46 GB, free: 8.68 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.524, allocations: 7.938 kB / 1.46 GB, free: 8.672 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.5242, allocations: 43.47 kB / 1.46 GB, free: 8.629 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.5246, allocations: 99.19 kB / 1.46 GB, free: 8.531 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.5253, allocations: 307 kB / 1.46 GB, free: 8.23 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000459/0.5258, allocations: 431.6 kB / 1.461 GB, free: 7.801 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.526, allocations: 81 kB / 1.461 GB, free: 7.719 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.5275, allocations: 297.8 kB / 1.461 GB, free: 7.453 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.5277, allocations: 179.2 kB / 1.461 GB, free: 7.277 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/0.5278, allocations: 32 kB / 1.461 GB, free: 7.246 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005133/0.5283, allocations: 271.6 kB / 1.461 GB, free: 6.98 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 9.545e-05/0.5284, allocations: 83.72 kB / 1.461 GB, free: 6.898 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.5285, allocations: 135.4 kB / 1.462 GB, free: 6.766 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.5292, allocations: 0.4941 MB / 1.462 GB, free: 6.27 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5292, allocations: 0 / 1.462 GB, free: 6.27 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5292, allocations: 0 / 1.462 GB, free: 6.27 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.5292, allocations: 8 kB / 1.462 GB, free: 6.262 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.001585/0.5308, allocations: 0.6336 MB / 1.463 GB, free: 5.598 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.5309, allocations: 16.03 kB / 1.463 GB, free: 5.582 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003652/0.5345, allocations: 287.6 kB / 1.463 GB, free: 5.301 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.535, allocations: 249.5 kB / 1.463 GB, free: 5.031 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.535, allocations: 20.66 kB / 1.463 GB, free: 5.012 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.5351, allocations: 28 kB / 1.463 GB, free: 4.984 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.5368, allocations: 429.8 kB / 1.464 GB, free: 4.559 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.5368, allocations: 0 / 1.464 GB, free: 4.559 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.5369, allocations: 8 kB / 1.464 GB, free: 4.551 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.5369, allocations: 15.94 kB / 1.464 GB, free: 4.535 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/0.5396, allocations: 0.5178 MB / 1.464 GB, free: 4.016 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.543, allocations: 0.9601 MB / 1.465 GB, free: 3.023 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.5456, allocations: 442.4 kB / 1.466 GB, free: 2.582 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.5469, allocations: 220.7 kB / 1.466 GB, free: 2.363 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.5469, allocations: 0 / 1.466 GB, free: 2.363 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.5469, allocations: 38.56 kB / 1.466 GB, free: 2.316 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.5469, allocations: 0 / 1.466 GB, free: 2.316 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.02003/0.567, allocations: 1.574 MB / 1.467 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.567, allocations: 59.39 kB / 1.467 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.5673, allocations: 224.9 kB / 1.468 GB, free: 444 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.5673, allocations: 25.7 kB / 1.468 GB, free: 412 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.5675, allocations: 184.5 kB / 1.468 GB, free: 224 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.5676, allocations: 91.22 kB / 1.468 GB, free: 132 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.5678, allocations: 69.92 kB / 1.468 GB, free: 52 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5679, allocations: 334.8 kB / 1.468 GB, free: 15.71 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.5691, allocations: 208.3 kB / 1.468 GB, free: 15.51 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.5705, allocations: 361.8 kB / 1.469 GB, free: 15.11 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.5729, allocations: 434.8 kB / 1.469 GB, free: 14.68 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5729, allocations: 3.938 kB / 1.469 GB, free: 14.68 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.008831/0.5818, allocations: 0.889 MB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5818, allocations: 5.562 kB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5818, allocations: 0 / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.5841, allocations: 281.4 kB / 1.47 GB, free: 13.49 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.5846, allocations: 67.88 kB / 1.47 GB, free: 13.42 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/0.6018, allocations: 3.814 MB / 1.474 GB, free: 9.402 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009645/0.6027, allocations: 59.89 kB / 1.474 GB, free: 9.344 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.6028, allocations: 15.97 kB / 1.474 GB, free: 9.328 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.0002296/0.603, allocations: 153.7 kB / 1.474 GB, free: 9.168 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.774e-05/0.6031, allocations: 23.81 kB / 1.474 GB, free: 9.145 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008633/0.6117, allocations: 0.9387 MB / 1.475 GB, free: 8.199 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.6118, allocations: 7.938 kB / 1.475 GB, free: 8.191 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.6118, allocations: 0 / 1.475 GB, free: 8.191 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.6118, allocations: 4 kB / 1.475 GB, free: 8.188 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.6123, allocations: 308.8 kB / 1.476 GB, free: 7.855 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6123, allocations: 0 / 1.476 GB, free: 7.855 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.6127, allocations: 47.95 kB / 1.476 GB, free: 7.809 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/0.6148, allocations: 277.4 kB / 1.476 GB, free: 7.531 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.6148, allocations: 15.97 kB / 1.476 GB, free: 7.516 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01655/0.6314, allocations: 3.797 MB / 1.48 GB, free: 3.512 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6314, allocations: 0 / 1.48 GB, free: 3.512 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008397/0.6398, allocations: 0.9574 MB / 1.481 GB, free: 2.531 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-05/0.6399, allocations: 27.73 kB / 1.481 GB, free: 2.504 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/0.6399, allocations: 8 kB / 1.481 GB, free: 2.496 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/0.6408, allocations: 43.95 kB / 1.481 GB, free: 2.453 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.6409, allocations: 23.95 kB / 1.481 GB, free: 2.43 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.6409, allocations: 11.97 kB / 1.481 GB, free: 2.418 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001746/0.6411, allocations: 168.5 kB / 1.481 GB, free: 2.25 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6411, allocations: 0 / 1.481 GB, free: 2.25 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000636/0.6417, allocations: 123.8 kB / 1.481 GB, free: 2.129 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.0002376/0.642, allocations: 131.2 kB / 1.481 GB, free: 1.992 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003171/0.6452, allocations: 0.7195 MB / 1.482 GB, free: 1.246 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6452, allocations: 0 / 1.482 GB, free: 1.246 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.6469, allocations: 497.1 kB / 1.482 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.6474, allocations: 72.31 kB / 1.482 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.6503, allocations: 0.6811 MB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.6505, allocations: 159.7 kB / 1.483 GB, free: 15.78 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.6509, allocations: 74.19 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.651, allocations: 31.42 kB / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of SimCode: time 3.91e-07/0.651, allocations: 0 / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of Templates: time 0.02119/0.6722, allocations: 13.85 MB / 1.497 GB, free: 1.93 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 cvode -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.711075033992529]