Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001817/0.001817, 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.002295/0.002295, allocations: 191.7 kB / 22.23 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.439/1.439, allocations: 225.6 MB / 251 MB, free: 13.02 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.182/3.182, allocations: 496 MB / 0.7835 GB, free: 33.59 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.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1")
translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 65.31 kB / 1.138 GB, free: 33.92 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3889, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007556/0.3965, allocations: 5.212 MB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.2068/0.6033, allocations: 151.2 MB / 1.46 GB, free: 4.719 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.6045, allocations: 23.81 kB / 1.46 GB, free: 4.695 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007211/0.6052, allocations: 206.1 kB / 1.46 GB, free: 4.492 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002101/0.6073, allocations: 0.5577 MB / 1.461 GB, free: 3.934 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.6097, allocations: 0.8628 MB / 1.462 GB, free: 3.078 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001819/0.6115, allocations: 1.42 MB / 1.463 GB, free: 1.652 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008041/0.6123, allocations: 430.2 kB / 1.463 GB, free: 1.203 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007303/0.613, allocations: 0.5023 MB / 1.464 GB, free: 0.6992 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006849/0.6137, allocations: 0.5173 MB / 1.464 GB, free: 184 kB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.6139, allocations: 120 kB / 1.465 GB, free: 64 kB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.6151, allocations: 483.7 kB / 1.465 GB, free: 15.59 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.000341/0.6154, allocations: 307 kB / 1.465 GB, free: 15.29 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.616, allocations: 0.5752 MB / 1.466 GB, free: 14.71 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002464/0.6185, allocations: 1.673 MB / 1.467 GB, free: 13.03 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.6185, allocations: 0 / 1.467 GB, free: 13.03 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.582e-06/0.6185, allocations: 0 / 1.467 GB, free: 13.03 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.957e-05/0.6185, allocations: 3.984 kB / 1.467 GB, free: 13.03 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: 219
 * Number of variables: 219
Notification: Performance of Generate backend data structure: time 0.002934/0.6214, allocations: 1.42 MB / 1.469 GB, free: 11.58 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.6215, allocations: 12.86 kB / 1.469 GB, free: 11.57 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00098/0.6225, allocations: 196 kB / 1.469 GB, free: 11.38 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.6238, allocations: 0.7182 MB / 1.47 GB, free: 10.62 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.6239, allocations: 66 kB / 1.47 GB, free: 10.56 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.624, allocations: 87.98 kB / 1.47 GB, free: 10.47 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.6258, allocations: 0.9339 MB / 1.471 GB, free: 9.5 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.6258, allocations: 4 kB / 1.471 GB, free: 9.496 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.302e-05/0.6259, allocations: 36 kB / 1.471 GB, free: 9.461 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.6259, allocations: 20 kB / 1.471 GB, free: 9.441 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.6278, allocations: 1.132 MB / 1.472 GB, free: 8.309 MB / 1.17 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004419/0.6323, allocations: 2.75 MB / 1.475 GB, free: 5.426 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.634, allocations: 0.7771 MB / 1.475 GB, free: 4.637 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.6345, allocations: 286.7 kB / 1.476 GB, free: 4.355 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.944e-05/0.6346, allocations: 28.61 kB / 1.476 GB, free: 4.328 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009548/0.6356, allocations: 0.4953 MB / 1.476 GB, free: 3.812 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=82): time 2.875e-06/0.6356, allocations: 0 / 1.476 GB, free: 3.812 MB / 1.17 GB
Notification: Performance of matching and sorting (n=82): time 0.003402/0.639, allocations: 1.132 MB / 1.477 GB, free: 2.672 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.6391, allocations: 196.5 kB / 1.478 GB, free: 2.438 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008992/0.64, allocations: 0.6371 MB / 1.478 GB, free: 1.789 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 8.093e-05/0.6401, allocations: 45.7 kB / 1.478 GB, free: 1.738 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.6405, allocations: 413.1 kB / 1.479 GB, free: 1.328 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.6407, allocations: 285.6 kB / 1.479 GB, free: 1.047 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.641, allocations: 166.6 kB / 1.479 GB, free: 0.8789 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002008/0.6412, allocations: 382.8 kB / 1.479 GB, free: 0.4961 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.6418, allocations: 273.8 kB / 1.48 GB, free: 232 kB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007211/0.6425, allocations: 371.2 kB / 1.48 GB, free: 15.85 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.6437, allocations: 0.6112 MB / 1.481 GB, free: 15.23 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6437, allocations: 0 / 1.481 GB, free: 15.23 MB / 1.186 GB
Notification: Performance of matching and sorting (n=99) (initialization): time 0.002115/0.6458, allocations: 0.8725 MB / 1.481 GB, free: 14.34 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6458, allocations: 4 kB / 1.481 GB, free: 14.34 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.6458, allocations: 8.094 kB / 1.481 GB, free: 14.33 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.6465, allocations: 80.77 kB / 1.482 GB, free: 14.25 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.6472, allocations: 171.7 kB / 1.482 GB, free: 14.08 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.6495, allocations: 1.527 MB / 1.483 GB, free: 12.43 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007991/0.6503, allocations: 99.47 kB / 1.483 GB, free: 12.33 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.6503, allocations: 31.98 kB / 1.483 GB, free: 12.3 MB / 1.186 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 (97):
 * Single equations (assignments): 96
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * 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): 1 system
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0005339/0.6509, allocations: 276.2 kB / 1.484 GB, free: 12.02 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.6511, allocations: 91.44 kB / 1.484 GB, free: 11.93 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.6536, allocations: 1.07 MB / 1.485 GB, free: 10.86 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.6536, allocations: 8 kB / 1.485 GB, free: 10.85 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.6536, allocations: 0 / 1.485 GB, free: 10.85 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.6536, allocations: 3.984 kB / 1.485 GB, free: 10.84 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.6548, allocations: 0.8831 MB / 1.486 GB, free: 9.918 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6548, allocations: 0 / 1.486 GB, free: 9.918 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.6555, allocations: 151.8 kB / 1.486 GB, free: 9.77 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004628/0.6559, allocations: 76.73 kB / 1.486 GB, free: 9.691 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/0.656, allocations: 27.97 kB / 1.486 GB, free: 9.664 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.6581, allocations: 1.556 MB / 1.487 GB, free: 7.992 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6581, allocations: 0 / 1.487 GB, free: 7.992 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.6609, allocations: 1.34 MB / 1.489 GB, free: 6.629 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.6614, allocations: 203.1 kB / 1.489 GB, free: 6.43 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.6615, allocations: 19.94 kB / 1.489 GB, free: 6.41 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.6621, allocations: 65.25 kB / 1.489 GB, free: 6.348 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.6623, allocations: 80.84 kB / 1.489 GB, free: 6.27 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/0.6624, allocations: 27.98 kB / 1.489 GB, free: 6.242 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006513/0.663, allocations: 467 kB / 1.489 GB, free: 5.789 MB / 1.186 GB
Notification: Performance of sort global known variables: time 8e-08/0.663, allocations: 0 / 1.489 GB, free: 5.789 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0009668/0.664, allocations: 331.2 kB / 1.49 GB, free: 5.465 MB / 1.186 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (walCap.T)
 * 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (93):
 * Single equations (assignments): 87
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * 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): 1 system
   {(1,3)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.002025/0.666, allocations: 0.6152 MB / 1.49 GB, free: 5.023 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001852/0.6678, allocations: 0.7999 MB / 1.491 GB, free: 4.207 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6678, allocations: 4.188 kB / 1.491 GB, free: 4.203 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009887/0.6688, allocations: 496.2 kB / 1.492 GB, free: 3.711 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.6701, allocations: 313.5 kB / 1.492 GB, free: 3.426 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.6737, allocations: 1.814 MB / 1.494 GB, free: 1.586 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007233/0.6745, allocations: 1.031 MB / 1.495 GB, free: 0.5234 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0008162/0.6753, allocations: 262.8 kB / 1.495 GB, free: 268 kB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.6756, allocations: 107.4 kB / 1.495 GB, free: 160 kB / 1.186 GB
Notification: Performance of SimCode: time 9.42e-07/0.6756, allocations: 0 / 1.495 GB, free: 160 kB / 1.186 GB
Notification: Performance of Templates: time 0.03023/0.7058, allocations: 15.95 MB / 1.511 GB, free: 388 kB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.00527926813811]