Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00134/0.00134, 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.001473/0.001473, allocations: 192 kB / 22.23 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.374/1.374, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
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 3.041/3.041, allocations: 495.7 MB / 0.7831 GB, free: 33.42 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.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1")
translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 57.27 kB / 1.137 GB, free: 33.96 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3784, allocations: 173.6 MB / 1.307 GB, free: 1.953 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007276/0.3857, allocations: 5.197 MB / 1.312 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1828/0.5685, allocations: 151.2 MB / 1.46 GB, free: 4.906 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008965/0.5694, allocations: 23.88 kB / 1.46 GB, free: 4.883 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006795/0.5701, allocations: 206.1 kB / 1.46 GB, free: 4.68 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.001905/0.572, allocations: 0.5548 MB / 1.46 GB, free: 4.125 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.5743, allocations: 0.8654 MB / 1.461 GB, free: 3.266 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002192/0.5765, allocations: 1.424 MB / 1.463 GB, free: 1.836 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008818/0.5773, allocations: 426.2 kB / 1.463 GB, free: 1.391 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008781/0.5782, allocations: 0.4983 MB / 1.464 GB, free: 0.8906 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/0.5789, allocations: 0.5212 MB / 1.464 GB, free: 376 kB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.5791, allocations: 116 kB / 1.464 GB, free: 260 kB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.5801, allocations: 499.4 kB / 1.465 GB, free: 15.77 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.5804, allocations: 307 kB / 1.465 GB, free: 15.46 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006115/0.5811, allocations: 0.5636 MB / 1.466 GB, free: 14.9 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002427/0.5835, allocations: 1.677 MB / 1.467 GB, free: 13.21 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.5835, allocations: 0 / 1.467 GB, free: 13.21 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.704e-06/0.5835, allocations: 0 / 1.467 GB, free: 13.21 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 2.185e-05/0.5835, allocations: 0 / 1.467 GB, free: 13.21 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.002776/0.5863, allocations: 1.428 MB / 1.469 GB, free: 11.76 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5863, allocations: 8.031 kB / 1.469 GB, free: 11.75 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009857/0.5873, allocations: 196 kB / 1.469 GB, free: 11.56 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.5886, allocations: 0.7065 MB / 1.469 GB, free: 10.82 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/0.5887, allocations: 66 kB / 1.47 GB, free: 10.75 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.5888, allocations: 88 kB / 1.47 GB, free: 10.67 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.5905, allocations: 0.9418 MB / 1.471 GB, free: 9.688 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.5906, allocations: 0 / 1.471 GB, free: 9.688 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/0.5907, allocations: 36 kB / 1.471 GB, free: 9.652 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.5907, allocations: 24 kB / 1.471 GB, free: 9.629 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.5926, allocations: 1.12 MB / 1.472 GB, free: 8.508 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.004493/0.5971, allocations: 2.769 MB / 1.474 GB, free: 5.605 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.5987, allocations: 0.7687 MB / 1.475 GB, free: 4.824 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/0.5993, allocations: 286.7 kB / 1.475 GB, free: 4.543 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.468e-05/0.5993, allocations: 28.59 kB / 1.475 GB, free: 4.516 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009568/0.6003, allocations: 499.2 kB / 1.476 GB, free: 4.008 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=82): time 2.164e-06/0.6003, allocations: 3.938 kB / 1.476 GB, free: 4.004 MB / 1.17 GB
Notification: Performance of matching and sorting (n=82): time 0.003509/0.6038, allocations: 1.129 MB / 1.477 GB, free: 2.867 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.6039, allocations: 196.5 kB / 1.477 GB, free: 2.633 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009242/0.6049, allocations: 0.6449 MB / 1.478 GB, free: 1.977 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 7.813e-05/0.6049, allocations: 41.7 kB / 1.478 GB, free: 1.93 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.6053, allocations: 417 kB / 1.478 GB, free: 1.516 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.6056, allocations: 277.7 kB / 1.479 GB, free: 1.242 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.6058, allocations: 166.5 kB / 1.479 GB, free: 1.074 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.000203/0.6061, allocations: 386.8 kB / 1.479 GB, free: 0.6875 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.6066, allocations: 277.8 kB / 1.479 GB, free: 424 kB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007033/0.6073, allocations: 371.2 kB / 1.48 GB, free: 40 kB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.6085, allocations: 0.6151 MB / 1.48 GB, free: 15.41 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6085, allocations: 0 / 1.48 GB, free: 15.41 MB / 1.186 GB
Notification: Performance of matching and sorting (n=99) (initialization): time 0.002171/0.6107, allocations: 0.8647 MB / 1.481 GB, free: 14.54 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6107, allocations: 11.94 kB / 1.481 GB, free: 14.53 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6107, allocations: 0 / 1.481 GB, free: 14.53 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/0.6114, allocations: 88.8 kB / 1.481 GB, free: 14.44 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007013/0.6121, allocations: 163.8 kB / 1.481 GB, free: 14.28 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.6143, allocations: 1.532 MB / 1.483 GB, free: 12.62 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007988/0.6151, allocations: 95.45 kB / 1.483 GB, free: 12.53 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.6152, allocations: 32.03 kB / 1.483 GB, free: 12.5 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.000495/0.6157, allocations: 280.2 kB / 1.483 GB, free: 12.21 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.6159, allocations: 87.44 kB / 1.483 GB, free: 12.13 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.6184, allocations: 1.07 MB / 1.484 GB, free: 11.05 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.6184, allocations: 8 kB / 1.484 GB, free: 11.04 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6184, allocations: 8 kB / 1.484 GB, free: 11.04 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6184, allocations: 7.922 kB / 1.484 GB, free: 11.03 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.6196, allocations: 0.8677 MB / 1.485 GB, free: 10.11 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.6196, allocations: 0 / 1.485 GB, free: 10.11 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006458/0.6202, allocations: 155.8 kB / 1.485 GB, free: 9.961 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/0.6207, allocations: 72.72 kB / 1.485 GB, free: 9.887 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.291e-05/0.6208, allocations: 23.98 kB / 1.486 GB, free: 9.863 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.6229, allocations: 1.562 MB / 1.487 GB, free: 8.184 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.6229, allocations: 0 / 1.487 GB, free: 8.184 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.6257, allocations: 1.34 MB / 1.488 GB, free: 6.82 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.6262, allocations: 199.1 kB / 1.489 GB, free: 6.625 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.6264, allocations: 27.92 kB / 1.489 GB, free: 6.598 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.627, allocations: 59.88 kB / 1.489 GB, free: 6.539 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.6272, allocations: 76.86 kB / 1.489 GB, free: 6.465 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/0.6273, allocations: 35.97 kB / 1.489 GB, free: 6.43 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006185/0.6279, allocations: 467.1 kB / 1.489 GB, free: 5.977 MB / 1.186 GB
Notification: Performance of sort global known variables: time 8e-08/0.6279, allocations: 0 / 1.489 GB, free: 5.977 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0008693/0.6287, allocations: 335.2 kB / 1.489 GB, free: 5.648 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.001963/0.6307, allocations: 0.6076 MB / 1.49 GB, free: 5.219 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001807/0.6325, allocations: 0.8077 MB / 1.491 GB, free: 4.395 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.6325, allocations: 4 kB / 1.491 GB, free: 4.391 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.000989/0.6335, allocations: 0.4886 MB / 1.491 GB, free: 3.895 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.6348, allocations: 295.5 kB / 1.492 GB, free: 3.621 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.6381, allocations: 1.815 MB / 1.493 GB, free: 1.777 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000715/0.6388, allocations: 1.027 MB / 1.494 GB, free: 0.7188 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0008323/0.6396, allocations: 266.7 kB / 1.495 GB, free: 464 kB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.6399, allocations: 103.4 kB / 1.495 GB, free: 360 kB / 1.186 GB
Notification: Performance of SimCode: time 6.32e-07/0.6399, allocations: 0 / 1.495 GB, free: 360 kB / 1.186 GB
Notification: Performance of Templates: time 0.0296/0.6695, allocations: 15.96 MB / 1.51 GB, free: 0.5547 MB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.467428369447589]