Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001753/0.001753, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.00202/0.00202, allocations: 191.3 kB / 22.11 MB, free: 5.156 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.445/1.445, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.146/3.146, allocations: 495.8 MB / 0.783 GB, free: 33.61 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.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise")
translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.16 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3598, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.229/0.5888, allocations: 167.2 MB / 1.47 GB, free: 9.961 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.02696/0.6158, allocations: 17.24 MB / 1.487 GB, free: 8.672 MB / 1.186 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/0.6182, allocations: 39.69 kB / 1.487 GB, free: 8.633 MB / 1.186 GB
Notification: Performance of NFTyping.typeComponents: time 0.002052/0.6202, allocations: 0.5701 MB / 1.487 GB, free: 8.059 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.006123/0.6264, allocations: 1.655 MB / 1.489 GB, free: 6.398 MB / 1.186 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.6308, allocations: 1.377 MB / 1.49 GB, free: 5.031 MB / 1.186 GB
Notification: Performance of NFFlatten.flatten: time 0.005399/0.6362, allocations: 2.715 MB / 1.493 GB, free: 2.305 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.003072/0.6393, allocations: 1.532 MB / 1.495 GB, free: 0.7148 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.6445, allocations: 1.412 MB / 1.496 GB, free: 15.35 MB / 1.201 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.6466, allocations: 0.9919 MB / 1.497 GB, free: 14.35 MB / 1.201 GB
Notification: Performance of NFPackage.collectConstants: time 0.0004707/0.6471, allocations: 212 kB / 1.497 GB, free: 14.14 MB / 1.201 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003549/0.6506, allocations: 1.29 MB / 1.498 GB, free: 12.86 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.0007668/0.6514, allocations: 0.5608 MB / 1.499 GB, free: 12.29 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.001612/0.653, allocations: 1.034 MB / 1.5 GB, free: 11.25 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.005863/0.6589, allocations: 3.102 MB / 1.503 GB, free: 8.141 MB / 1.201 GB
Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6589, allocations: 0 / 1.503 GB, free: 8.141 MB / 1.201 GB
Notification: Performance of FrontEnd: time 1.793e-06/0.6589, allocations: 4 kB / 1.503 GB, free: 8.137 MB / 1.201 GB
Notification: Performance of Transformations before backend: time 6.672e-05/0.6589, allocations: 0 / 1.503 GB, free: 8.137 MB / 1.201 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 434
 * Number of variables: 434
Notification: Performance of Generate backend data structure: time 0.005531/0.6645, allocations: 2.263 MB / 1.505 GB, free: 5.824 MB / 1.201 GB
Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.6645, allocations: 8.922 kB / 1.505 GB, free: 5.816 MB / 1.201 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004052/0.6686, allocations: 0.5217 MB / 1.506 GB, free: 5.293 MB / 1.201 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.6711, allocations: 1.042 MB / 1.507 GB, free: 4.223 MB / 1.201 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.6713, allocations: 127.4 kB / 1.507 GB, free: 4.098 MB / 1.201 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/0.6716, allocations: 176 kB / 1.507 GB, free: 3.926 MB / 1.201 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004084/0.6757, allocations: 1.839 MB / 1.509 GB, free: 2.035 MB / 1.201 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.6757, allocations: 0 / 1.509 GB, free: 2.035 MB / 1.201 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.6759, allocations: 76 kB / 1.509 GB, free: 1.961 MB / 1.201 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.6759, allocations: 47.94 kB / 1.509 GB, free: 1.914 MB / 1.201 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003968/0.6799, allocations: 1.882 MB / 1.511 GB, free: 28 kB / 1.201 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.6912, allocations: 5.6 MB / 1.516 GB, free: 10.04 MB / 1.217 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003532/0.6948, allocations: 1.376 MB / 1.518 GB, free: 8.664 MB / 1.217 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.6961, allocations: 0.6007 MB / 1.518 GB, free: 8.055 MB / 1.217 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006899/0.6968, allocations: 133.2 kB / 1.518 GB, free: 7.926 MB / 1.217 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002225/0.699, allocations: 0.8918 MB / 1.519 GB, free: 7.016 MB / 1.217 GB
Notification: Performance of pre-optimization done (n=146): time 2.946e-06/0.699, allocations: 0 / 1.519 GB, free: 7.016 MB / 1.217 GB
Notification: Performance of matching and sorting (n=146): time 0.006921/0.706, allocations: 2.188 MB / 1.521 GB, free: 4.805 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.7061, allocations: 197.2 kB / 1.521 GB, free: 4.57 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.7076, allocations: 0.8423 MB / 1.522 GB, free: 3.703 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002147/0.7078, allocations: 57.7 kB / 1.522 GB, free: 3.641 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006732/0.7085, allocations: 0.6538 MB / 1.523 GB, free: 2.977 MB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0006454/0.7091, allocations: 499.7 kB / 1.523 GB, free: 2.484 MB / 1.217 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004651/0.7096, allocations: 262.8 kB / 1.524 GB, free: 2.223 MB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.0001861/0.7098, allocations: 353.9 kB / 1.524 GB, free: 1.871 MB / 1.217 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.711, allocations: 494.3 kB / 1.525 GB, free: 1.387 MB / 1.217 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.7126, allocations: 0.6423 MB / 1.525 GB, free: 0.7148 MB / 1.217 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/0.7154, allocations: 1.115 MB / 1.526 GB, free: 15.59 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.7154, allocations: 0 / 1.526 GB, free: 15.59 MB / 1.232 GB
Notification: Performance of matching and sorting (n=166) (initialization): time 0.004344/0.7197, allocations: 1.554 MB / 1.528 GB, free: 14.01 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.7197, allocations: 8 kB / 1.528 GB, free: 14 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.7198, allocations: 0 / 1.528 GB, free: 14 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.7208, allocations: 192.2 kB / 1.528 GB, free: 13.8 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.7225, allocations: 343.5 kB / 1.528 GB, free: 13.46 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007365/0.7299, allocations: 6.776 MB / 1.535 GB, free: 6.109 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.7315, allocations: 159.2 kB / 1.535 GB, free: 5.953 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/0.7317, allocations: 55.97 kB / 1.535 GB, free: 5.898 MB / 1.232 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (156):
 * Single equations (assignments): 151
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 5
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.000901/0.7326, allocations: 383.8 kB / 1.535 GB, free: 5.516 MB / 1.232 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/0.7329, allocations: 135.2 kB / 1.536 GB, free: 5.383 MB / 1.232 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.7376, allocations: 1.846 MB / 1.537 GB, free: 3.512 MB / 1.232 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.7376, allocations: 16 kB / 1.537 GB, free: 3.496 MB / 1.232 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.7376, allocations: 0 / 1.537 GB, free: 3.496 MB / 1.232 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.7376, allocations: 7.969 kB / 1.537 GB, free: 3.488 MB / 1.232 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007272/0.7449, allocations: 3.412 MB / 1.541 GB, free: 4 kB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.7449, allocations: 4 kB / 1.541 GB, free: 0 / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.7465, allocations: 311.6 kB / 1.541 GB, free: 15.7 MB / 1.248 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000887/0.7474, allocations: 188.1 kB / 1.541 GB, free: 15.5 MB / 1.248 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/0.7475, allocations: 39.97 kB / 1.541 GB, free: 15.46 MB / 1.248 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007272/0.7548, allocations: 6.795 MB / 1.548 GB, free: 8.082 MB / 1.248 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.7548, allocations: 15.81 kB / 1.548 GB, free: 8.066 MB / 1.248 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004647/0.7594, allocations: 1.721 MB / 1.55 GB, free: 6.312 MB / 1.248 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/0.7603, allocations: 330.5 kB / 1.55 GB, free: 5.988 MB / 1.248 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.7605, allocations: 32 kB / 1.55 GB, free: 5.957 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.7617, allocations: 94.34 kB / 1.55 GB, free: 5.867 MB / 1.248 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.762, allocations: 117.1 kB / 1.55 GB, free: 5.75 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.7621, allocations: 79.94 kB / 1.55 GB, free: 5.672 MB / 1.248 GB
Notification: Performance of sorting global known variables: time 0.0009129/0.763, allocations: 0.5745 MB / 1.551 GB, free: 5.086 MB / 1.248 GB
Notification: Performance of sort global known variables: time 8e-08/0.763, allocations: 0 / 1.551 GB, free: 5.086 MB / 1.248 GB
Notification: Performance of remove unused functions: time 0.001686/0.7647, allocations: 0.6078 MB / 1.551 GB, free: 4.477 MB / 1.248 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (149):
 * Single equations (assignments): 139
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 5
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,3)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.00236/0.7671, allocations: 0.7355 MB / 1.552 GB, free: 3.922 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.003968/0.771, allocations: 1.813 MB / 1.554 GB, free: 2.043 MB / 1.248 GB
Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.7711, allocations: 4.656 kB / 1.554 GB, free: 2.039 MB / 1.248 GB
Notification: Performance of simCode: created simulation system equations: time 0.002512/0.7736, allocations: 1.25 MB / 1.555 GB, free: 0.7266 MB / 1.248 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.776, allocations: 0.5226 MB / 1.556 GB, free: 232 kB / 1.248 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/0.7823, allocations: 2.82 MB / 1.558 GB, free: 13.38 MB / 1.264 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.7834, allocations: 1.296 MB / 1.56 GB, free: 12.05 MB / 1.264 GB
Notification: Performance of simCode: alias equations: time 0.001775/0.7852, allocations: 438.4 kB / 1.56 GB, free: 11.62 MB / 1.264 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/0.7857, allocations: 155.3 kB / 1.56 GB, free: 11.47 MB / 1.264 GB
Notification: Performance of SimCode: time 1.864e-06/0.7857, allocations: 4 kB / 1.56 GB, free: 11.46 MB / 1.264 GB
Notification: Performance of Templates: time 0.06551/0.8512, allocations: 28.96 MB / 1.588 GB, free: 14.85 MB / 1.295 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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: 10.48020445369184]