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.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.001739/0.001739, allocations: 106 kB / 18.84 MB, free: 3.023 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.001902/0.001902, allocations: 191.9 kB / 22.1 MB, free: 4.227 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.464/1.464, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.93/2.93, allocations: 495.8 MB / 0.783 GB, free: 12.25 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_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: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 59.91 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8616/0.8642, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002624/0.8669, allocations: 2.319 MB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.1777/1.045, allocations: 150.9 MB / 1.456 GB, free: 2.93 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/1.045, allocations: 6.844 kB / 1.456 GB, free: 2.926 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002197/1.045, allocations: 52.45 kB / 1.456 GB, free: 2.887 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003657/1.045, allocations: 105.1 kB / 1.456 GB, free: 2.812 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007846/1.046, allocations: 308 kB / 1.457 GB, free: 2.656 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.0004834/1.047, allocations: 428.6 kB / 1.457 GB, free: 2.457 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/1.047, allocations: 89.33 kB / 1.457 GB, free: 2.402 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001461/1.048, allocations: 291.2 kB / 1.458 GB, free: 2.305 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/1.049, allocations: 186.2 kB / 1.458 GB, free: 2.223 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 5.834e-05/1.049, allocations: 30.72 kB / 1.458 GB, free: 2.223 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/1.049, allocations: 267 kB / 1.458 GB, free: 2.156 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001082/1.049, allocations: 78.11 kB / 1.458 GB, free: 2.109 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001863/1.049, allocations: 161.6 kB / 1.458 GB, free: 2.016 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007187/1.05, allocations: 0.49 MB / 1.459 GB, free: 1.82 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.05, allocations: 4 kB / 1.459 GB, free: 1.816 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.363e-06/1.05, allocations: 1.375 kB / 1.459 GB, free: 1.816 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 6.833e-06/1.05, allocations: 0 / 1.459 GB, free: 1.816 MB / 1.139 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.001536/1.052, allocations: 0.641 MB / 1.459 GB, free: 1.371 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/1.052, allocations: 8.844 kB / 1.459 GB, free: 1.371 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/1.055, allocations: 258.9 kB / 1.46 GB, free: 1.336 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/1.055, allocations: 244.7 kB / 1.46 GB, free: 1.141 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/1.055, allocations: 20.12 kB / 1.46 GB, free: 1.133 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/1.055, allocations: 30.78 kB / 1.46 GB, free: 1.121 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/1.057, allocations: 426.3 kB / 1.46 GB, free: 0.9844 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.057, allocations: 1.156 kB / 1.46 GB, free: 0.9844 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/1.057, allocations: 10.19 kB / 1.46 GB, free: 0.9766 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/1.057, allocations: 14.91 kB / 1.46 GB, free: 0.9688 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/1.059, allocations: 0.528 MB / 1.461 GB, free: 0.8125 MB / 1.139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/1.062, allocations: 1.093 MB / 1.462 GB, free: 248 kB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002432/1.065, allocations: 437.1 kB / 1.462 GB, free: 112 kB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/1.066, allocations: 219.8 kB / 1.463 GB, free: 40 kB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/1.066, allocations: 3.375 kB / 1.463 GB, free: 40 kB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/1.066, allocations: 37.83 kB / 1.463 GB, free: 16 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=25): time 1.583e-06/1.066, allocations: 0 / 1.463 GB, free: 16 MB / 1.154 GB
Notification: Performance of matching and sorting (n=25): time 0.0164/1.083, allocations: 1.571 MB / 1.464 GB, free: 15.67 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/1.083, allocations: 62.47 kB / 1.464 GB, free: 15.6 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/1.083, allocations: 304.5 kB / 1.464 GB, free: 15.44 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 5.881e-05/1.083, allocations: 31.05 kB / 1.464 GB, free: 15.4 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001507/1.083, allocations: 176 kB / 1.465 GB, free: 15.25 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001076/1.083, allocations: 93.33 kB / 1.465 GB, free: 15.18 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/1.083, allocations: 70.5 kB / 1.465 GB, free: 15.14 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001743/1.084, allocations: 348.1 kB / 1.465 GB, free: 14.81 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/1.085, allocations: 203.7 kB / 1.465 GB, free: 14.73 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/1.086, allocations: 264.9 kB / 1.466 GB, free: 14.57 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/1.088, allocations: 444.3 kB / 1.466 GB, free: 14.33 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.088, allocations: 4 kB / 1.466 GB, free: 14.33 MB / 1.154 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.007255/1.095, allocations: 0.8847 MB / 1.467 GB, free: 13.88 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/1.095, allocations: 6.812 kB / 1.467 GB, free: 13.88 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.095, allocations: 1.156 kB / 1.467 GB, free: 13.88 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/1.097, allocations: 280.2 kB / 1.467 GB, free: 13.73 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/1.098, allocations: 69.5 kB / 1.467 GB, free: 13.71 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/1.113, allocations: 3.887 MB / 1.471 GB, free: 10.39 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009766/1.114, allocations: 78.72 kB / 1.471 GB, free: 10.35 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/1.114, allocations: 17.22 kB / 1.471 GB, free: 10.34 MB / 1.154 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.0002807/1.114, allocations: 148.1 kB / 1.471 GB, free: 10.2 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/1.115, allocations: 30.62 kB / 1.471 GB, free: 10.18 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007644/1.122, allocations: 0.9527 MB / 1.472 GB, free: 9.648 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/1.122, allocations: 2.562 kB / 1.472 GB, free: 9.648 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.122, allocations: 1.094 kB / 1.472 GB, free: 9.648 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.122, allocations: 0 / 1.472 GB, free: 9.648 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/1.123, allocations: 399.3 kB / 1.473 GB, free: 9.301 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.123, allocations: 0 / 1.473 GB, free: 9.301 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/1.123, allocations: 53.27 kB / 1.473 GB, free: 9.285 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/1.125, allocations: 282.9 kB / 1.473 GB, free: 9.137 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/1.125, allocations: 11.61 kB / 1.473 GB, free: 9.129 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/1.141, allocations: 3.881 MB / 1.477 GB, free: 5.816 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.141, allocations: 1.062 kB / 1.477 GB, free: 5.816 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00762/1.149, allocations: 0.9562 MB / 1.478 GB, free: 5.27 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/1.149, allocations: 32.48 kB / 1.478 GB, free: 5.246 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/1.149, allocations: 10.44 kB / 1.478 GB, free: 5.238 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/1.15, allocations: 44.86 kB / 1.478 GB, free: 5.219 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/1.15, allocations: 22.23 kB / 1.478 GB, free: 5.203 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/1.15, allocations: 19.34 kB / 1.478 GB, free: 5.191 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.0003189/1.15, allocations: 229.8 kB / 1.478 GB, free: 5.043 MB / 1.154 GB
Notification: Performance of sort global known variables: time 1e-07/1.15, allocations: 0 / 1.478 GB, free: 5.043 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0006882/1.151, allocations: 115 kB / 1.478 GB, free: 5.027 MB / 1.154 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.0002757/1.151, allocations: 115.5 kB / 1.478 GB, free: 4.93 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.003044/1.154, allocations: 0.7134 MB / 1.479 GB, free: 4.457 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.154, allocations: 3.938 kB / 1.479 GB, free: 4.453 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.001772/1.156, allocations: 0.4892 MB / 1.479 GB, free: 4.086 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/1.157, allocations: 112.7 kB / 1.479 GB, free: 4.023 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/1.159, allocations: 0.6989 MB / 1.48 GB, free: 3.574 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/1.16, allocations: 0.765 MB / 1.481 GB, free: 2.844 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0004474/1.16, allocations: 85.98 kB / 1.481 GB, free: 2.789 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/1.16, allocations: 36.17 kB / 1.481 GB, free: 2.773 MB / 1.154 GB
Notification: Performance of SimCode: time 7.92e-07/1.16, allocations: 0 / 1.481 GB, free: 2.773 MB / 1.154 GB
Notification: Performance of Templates: time 0.02461/1.185, allocations: 13.95 MB / 1.495 GB, free: 7.473 MB / 1.17 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/jenkins/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.716807745397091]