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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 188.9 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.842/2.842, allocations: 0.4893 GB / 0.7884 GB, free: 33.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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=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 0.001824/0.001824, allocations: 62.89 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.284, allocations: 174.9 MB / 1.316 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003463/0.2875, allocations: 2.324 MB / 1.318 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.4514, allocations: 152.6 MB / 1.467 GB, free: 14.27 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.4515, allocations: 7.938 kB / 1.467 GB, free: 14.26 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.4517, allocations: 47.47 kB / 1.467 GB, free: 14.21 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.452, allocations: 103.2 kB / 1.467 GB, free: 14.11 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005852/0.4526, allocations: 310.9 kB / 1.468 GB, free: 13.81 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000431/0.453, allocations: 423.7 kB / 1.468 GB, free: 13.39 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.4532, allocations: 76.27 kB / 1.468 GB, free: 13.31 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.4545, allocations: 290.2 kB / 1.468 GB, free: 13.05 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.4548, allocations: 187.2 kB / 1.469 GB, free: 12.87 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.4548, allocations: 32 kB / 1.469 GB, free: 12.84 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.4553, allocations: 279.6 kB / 1.469 GB, free: 12.57 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.4554, allocations: 83.73 kB / 1.469 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.4556, allocations: 163.2 kB / 1.469 GB, free: 12.32 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006129/0.4562, allocations: 0.4903 MB / 1.47 GB, free: 11.83 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4562, allocations: 7.984 kB / 1.47 GB, free: 11.82 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4562, allocations: 0 / 1.47 GB, free: 11.82 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.4562, allocations: 0 / 1.47 GB, free: 11.82 MB / 1.17 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.001387/0.4576, allocations: 0.6297 MB / 1.47 GB, free: 11.16 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.4576, allocations: 12.03 kB / 1.47 GB, free: 11.15 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.4602, allocations: 267.6 kB / 1.471 GB, free: 10.89 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.4606, allocations: 249.5 kB / 1.471 GB, free: 10.62 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.4606, allocations: 20.64 kB / 1.471 GB, free: 10.6 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/0.4607, allocations: 28 kB / 1.471 GB, free: 10.57 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.4621, allocations: 433.8 kB / 1.471 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4621, allocations: 0 / 1.471 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.4621, allocations: 8 kB / 1.471 GB, free: 10.14 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.4621, allocations: 15.88 kB / 1.471 GB, free: 10.12 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.4643, allocations: 0.5256 MB / 1.472 GB, free: 9.594 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002892/0.4671, allocations: 1.096 MB / 1.473 GB, free: 8.449 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.4693, allocations: 450.3 kB / 1.473 GB, free: 8 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009847/0.4702, allocations: 216.7 kB / 1.473 GB, free: 7.785 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.532e-05/0.4703, allocations: 4 kB / 1.473 GB, free: 7.781 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.4703, allocations: 38.5 kB / 1.473 GB, free: 7.734 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 1.333e-06/0.4703, allocations: 0 / 1.473 GB, free: 7.734 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.0146/0.4849, allocations: 1.582 MB / 1.475 GB, free: 6.141 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.4849, allocations: 55.41 kB / 1.475 GB, free: 6.074 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.4853, allocations: 304.5 kB / 1.475 GB, free: 5.773 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/0.4854, allocations: 33.7 kB / 1.475 GB, free: 5.734 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.4855, allocations: 172.5 kB / 1.476 GB, free: 5.562 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.906e-05/0.4856, allocations: 91.22 kB / 1.476 GB, free: 5.473 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.4858, allocations: 73.92 kB / 1.476 GB, free: 5.391 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4859, allocations: 350.7 kB / 1.476 GB, free: 5.039 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009585/0.4869, allocations: 196.4 kB / 1.476 GB, free: 4.848 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.4879, allocations: 268 kB / 1.477 GB, free: 4.566 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.4898, allocations: 434.8 kB / 1.477 GB, free: 4.133 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4898, allocations: 0 / 1.477 GB, free: 4.133 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006705/0.4965, allocations: 0.8967 MB / 1.478 GB, free: 3.223 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4965, allocations: 8 kB / 1.478 GB, free: 3.215 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4965, allocations: 0 / 1.478 GB, free: 3.215 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.4983, allocations: 273.4 kB / 1.478 GB, free: 2.941 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.4988, allocations: 71.88 kB / 1.478 GB, free: 2.871 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.5123, allocations: 3.884 MB / 1.482 GB, free: 14.76 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007045/0.513, allocations: 75.72 kB / 1.482 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.513, allocations: 15.97 kB / 1.482 GB, free: 14.67 MB / 1.186 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.0001807/0.5132, allocations: 147.6 kB / 1.482 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.08e-05/0.5133, allocations: 35.73 kB / 1.482 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006704/0.52, allocations: 0.9433 MB / 1.483 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.52, allocations: 3.984 kB / 1.483 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.52, allocations: 4 kB / 1.483 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.52, allocations: 0 / 1.483 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.5205, allocations: 404 kB / 1.484 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5205, allocations: 7.938 kB / 1.484 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.5209, allocations: 55.95 kB / 1.484 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/0.5225, allocations: 277.4 kB / 1.484 GB, free: 12.74 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.5225, allocations: 11.97 kB / 1.484 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/0.5355, allocations: 3.874 MB / 1.488 GB, free: 8.621 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5355, allocations: 0 / 1.488 GB, free: 8.621 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006326/0.5419, allocations: 0.9551 MB / 1.489 GB, free: 7.645 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.625e-05/0.5419, allocations: 39.73 kB / 1.489 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.542, allocations: 4 kB / 1.489 GB, free: 7.602 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/0.5427, allocations: 39.95 kB / 1.489 GB, free: 7.562 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.5428, allocations: 23.95 kB / 1.489 GB, free: 7.539 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.5428, allocations: 19.92 kB / 1.489 GB, free: 7.52 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002529/0.5431, allocations: 231 kB / 1.489 GB, free: 7.297 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5431, allocations: 0 / 1.489 GB, free: 7.297 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005761/0.5436, allocations: 115.8 kB / 1.489 GB, free: 7.184 MB / 1.186 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.000194/0.5438, allocations: 123.1 kB / 1.489 GB, free: 7.055 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002565/0.5464, allocations: 0.7161 MB / 1.49 GB, free: 6.312 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5464, allocations: 4 kB / 1.49 GB, free: 6.309 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.5478, allocations: 493.1 kB / 1.49 GB, free: 5.801 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.5484, allocations: 109.2 kB / 1.49 GB, free: 5.695 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.5506, allocations: 0.6932 MB / 1.491 GB, free: 4.977 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.551, allocations: 0.7645 MB / 1.492 GB, free: 4.184 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003356/0.5513, allocations: 82.86 kB / 1.492 GB, free: 4.102 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.5515, allocations: 35.42 kB / 1.492 GB, free: 4.066 MB / 1.186 GB Notification: Performance of SimCode: time 5.81e-07/0.5515, allocations: 0 / 1.492 GB, free: 4.066 MB / 1.186 GB Notification: Performance of Templates: time 0.02059/0.5721, allocations: 13.95 MB / 1.506 GB, free: 6.184 MB / 1.201 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.345676456578076]