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.00162/0.00162, allocations: 110 kB / 18.93 MB, free: 2.945 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.001713/0.001713, allocations: 182.9 kB / 22.22 MB, free: 5.16 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.409/1.409, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.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 3.091/3.091, allocations: 496 MB / 0.7835 GB, free: 33.55 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-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.002067/0.002067, allocations: 68.05 kB / 1.138 GB, free: 33.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003549/0.3186, allocations: 2.333 MB / 1.31 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1755/0.4941, allocations: 152.6 MB / 1.459 GB, free: 6.336 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.4943, allocations: 7.938 kB / 1.459 GB, free: 6.328 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.4945, allocations: 51.45 kB / 1.459 GB, free: 6.277 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.4948, allocations: 103.2 kB / 1.459 GB, free: 6.176 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.4955, allocations: 310.9 kB / 1.459 GB, free: 5.871 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.0004861/0.496, allocations: 427.7 kB / 1.459 GB, free: 5.449 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.4962, allocations: 76.28 kB / 1.459 GB, free: 5.375 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.4977, allocations: 285.5 kB / 1.46 GB, free: 5.117 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.498, allocations: 183.2 kB / 1.46 GB, free: 4.938 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.498, allocations: 35.94 kB / 1.46 GB, free: 4.902 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.4986, allocations: 279.6 kB / 1.46 GB, free: 4.629 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.4987, allocations: 75.73 kB / 1.46 GB, free: 4.555 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.4989, allocations: 175.2 kB / 1.46 GB, free: 4.383 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006873/0.4996, allocations: 498.1 kB / 1.461 GB, free: 3.895 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4996, allocations: 0 / 1.461 GB, free: 3.895 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.182e-06/0.4996, allocations: 0 / 1.461 GB, free: 3.895 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 6.602e-06/0.4996, allocations: 0 / 1.461 GB, free: 3.895 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.001505/0.5011, allocations: 0.6375 MB / 1.462 GB, free: 3.227 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.5011, allocations: 16.86 kB / 1.462 GB, free: 3.211 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.504, allocations: 259.6 kB / 1.462 GB, free: 2.957 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.5044, allocations: 245.6 kB / 1.462 GB, free: 2.691 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.5044, allocations: 20.66 kB / 1.462 GB, free: 2.672 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/0.5045, allocations: 24 kB / 1.462 GB, free: 2.648 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.506, allocations: 437.7 kB / 1.462 GB, free: 2.219 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.506, allocations: 4 kB / 1.462 GB, free: 2.215 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.5061, allocations: 8 kB / 1.462 GB, free: 2.207 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5061, allocations: 11.94 kB / 1.463 GB, free: 2.195 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.5084, allocations: 0.5217 MB / 1.463 GB, free: 1.668 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.5117, allocations: 1.092 MB / 1.464 GB, free: 0.5273 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.5139, allocations: 446.4 kB / 1.465 GB, free: 84 kB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.5151, allocations: 220.7 kB / 1.465 GB, free: 15.86 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.263e-05/0.5151, allocations: 4 kB / 1.465 GB, free: 15.86 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.5151, allocations: 38.55 kB / 1.465 GB, free: 15.81 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=25): time 5.33e-06/0.5152, allocations: 7.984 kB / 1.465 GB, free: 15.8 MB / 1.17 GB
Notification: Performance of matching and sorting (n=25): time 0.0164/0.5316, allocations: 1.574 MB / 1.466 GB, free: 14.22 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.5316, allocations: 59.34 kB / 1.466 GB, free: 14.15 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.532, allocations: 304.5 kB / 1.467 GB, free: 13.85 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.532, allocations: 33.7 kB / 1.467 GB, free: 13.81 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.5322, allocations: 168.5 kB / 1.467 GB, free: 13.64 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 9.658e-05/0.5323, allocations: 95.2 kB / 1.467 GB, free: 13.55 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.5324, allocations: 73.92 kB / 1.467 GB, free: 13.46 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.000166/0.5326, allocations: 354.7 kB / 1.467 GB, free: 13.11 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.5337, allocations: 196.4 kB / 1.468 GB, free: 12.92 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.5349, allocations: 260.1 kB / 1.468 GB, free: 12.64 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.5371, allocations: 439.6 kB / 1.468 GB, free: 12.21 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5371, allocations: 0 / 1.468 GB, free: 12.21 MB / 1.17 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.007226/0.5443, allocations: 0.8929 MB / 1.469 GB, free: 11.3 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5444, allocations: 8 kB / 1.469 GB, free: 11.29 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5444, allocations: 0 / 1.469 GB, free: 11.29 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/0.5463, allocations: 277.4 kB / 1.469 GB, free: 11.02 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.5468, allocations: 67.88 kB / 1.469 GB, free: 10.95 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/0.562, allocations: 3.883 MB / 1.473 GB, free: 6.832 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.5628, allocations: 79.7 kB / 1.473 GB, free: 6.754 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.5629, allocations: 27.97 kB / 1.473 GB, free: 6.727 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.0002121/0.5631, allocations: 141.8 kB / 1.473 GB, free: 6.578 MB / 1.17 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/0.5632, allocations: 27.81 kB / 1.473 GB, free: 6.551 MB / 1.17 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007357/0.5706, allocations: 0.9471 MB / 1.474 GB, free: 5.594 MB / 1.17 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.5706, allocations: 4 kB / 1.474 GB, free: 5.59 MB / 1.17 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5706, allocations: 0 / 1.474 GB, free: 5.59 MB / 1.17 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5706, allocations: 3.984 kB / 1.474 GB, free: 5.586 MB / 1.17 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.5712, allocations: 400 kB / 1.475 GB, free: 5.152 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.5712, allocations: 11.98 kB / 1.475 GB, free: 5.141 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.5716, allocations: 51.89 kB / 1.475 GB, free: 5.09 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/0.5734, allocations: 277.4 kB / 1.475 GB, free: 4.812 MB / 1.17 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.5734, allocations: 15.97 kB / 1.475 GB, free: 4.797 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/0.5877, allocations: 3.871 MB / 1.479 GB, free: 0.6953 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5877, allocations: 0 / 1.479 GB, free: 0.6953 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007086/0.5948, allocations: 0.9626 MB / 1.48 GB, free: 15.71 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.5949, allocations: 31.75 kB / 1.48 GB, free: 15.68 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.595, allocations: 7.984 kB / 1.48 GB, free: 15.67 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/0.5957, allocations: 43.95 kB / 1.48 GB, free: 15.63 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.5958, allocations: 19.97 kB / 1.48 GB, free: 15.61 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.5959, allocations: 23.91 kB / 1.48 GB, free: 15.59 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0002787/0.5961, allocations: 227.1 kB / 1.48 GB, free: 15.37 MB / 1.186 GB
Notification: Performance of sort global known variables: time 7e-08/0.5961, allocations: 0 / 1.48 GB, free: 15.37 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0005809/0.5967, allocations: 119.9 kB / 1.48 GB, free: 15.25 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.0002179/0.5969, allocations: 123.1 kB / 1.48 GB, free: 15.12 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.002841/0.5998, allocations: 0.7122 MB / 1.481 GB, free: 14.38 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5998, allocations: 0 / 1.481 GB, free: 14.38 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001527/0.6013, allocations: 497.1 kB / 1.482 GB, free: 13.87 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/0.6019, allocations: 111.7 kB / 1.482 GB, free: 13.76 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.6044, allocations: 0.6916 MB / 1.482 GB, free: 13.05 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.6048, allocations: 0.7723 MB / 1.483 GB, free: 12.25 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0003563/0.6052, allocations: 74.89 kB / 1.483 GB, free: 12.18 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.6053, allocations: 39.41 kB / 1.483 GB, free: 12.14 MB / 1.186 GB
Notification: Performance of SimCode: time 4.71e-07/0.6053, allocations: 0 / 1.483 GB, free: 12.14 MB / 1.186 GB
Notification: Performance of Templates: time 0.02171/0.627, allocations: 13.96 MB / 1.497 GB, free: 14.24 MB / 1.201 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.301174716092646]