Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002511/0.002511, allocations: 79.69 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00306/0.00306, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.906/2.906, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.532e-05, allocations: 5.125 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00806/0.008085, allocations: 4.759 MB / 0.791 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2071/0.2152, allocations: 146.3 MB / 0.9338 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007935/0.216, allocations: 23.88 kB / 0.9338 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007695/0.2167, allocations: 206.1 kB / 0.934 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.2187, allocations: 0.5785 MB / 0.9346 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.2209, allocations: 0.8568 MB / 0.9354 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002191/0.2231, allocations: 1.459 MB / 0.9369 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008977/0.224, allocations: 398.6 kB / 0.9372 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.2254, allocations: 0.7445 MB / 0.938 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007948/0.2262, allocations: 406.7 kB / 0.9384 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.2265, allocations: 124 kB / 0.9385 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.2277, allocations: 499.4 kB / 0.9389 GB, free: 60 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0004167/0.2281, allocations: 307.1 kB / 0.9392 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.000698/0.2288, allocations: 398.9 kB / 0.9396 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.2317, allocations: 1.799 MB / 0.9414 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2317, allocations: 0 / 0.9414 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2317, allocations: 0 / 0.9414 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.777e-05/0.2317, allocations: 0 / 0.9414 GB, free: 13.56 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003493/0.2352, allocations: 1.609 MB / 0.9429 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.2353, allocations: 16.03 kB / 0.943 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.237, allocations: 323.6 kB / 0.9433 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.2387, allocations: 0.7364 MB / 0.944 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.452e-05/0.2387, allocations: 74.12 kB / 0.9441 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.2389, allocations: 92 kB / 0.9441 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.2411, allocations: 1.219 MB / 0.9453 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.2411, allocations: 0 / 0.9453 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.636e-05/0.2412, allocations: 39.94 kB / 0.9454 GB, free: 9.266 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.2412, allocations: 20 kB / 0.9454 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.2432, allocations: 1.014 MB / 0.9464 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005853/0.2491, allocations: 3.139 MB / 0.9495 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.2507, allocations: 0.7083 MB / 0.9501 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/0.2514, allocations: 267.3 kB / 0.9504 GB, free: 4.008 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.18e-05/0.2515, allocations: 24.64 kB / 0.9504 GB, free: 3.984 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.2525, allocations: 0.6079 MB / 0.951 GB, free: 3.332 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=86): time 2.785e-06/0.2525, allocations: 0 / 0.951 GB, free: 3.332 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86): time 0.003515/0.2561, allocations: 1.085 MB / 0.9521 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.2562, allocations: 196.9 kB / 0.9523 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.2574, allocations: 0.7729 MB / 0.953 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.2575, allocations: 49.7 kB / 0.9531 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005213/0.258, allocations: 499.9 kB / 0.9535 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000334/0.2584, allocations: 305.6 kB / 0.9538 GB, free: 372 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/0.2587, allocations: 220.2 kB / 0.954 GB, free: 144 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004383/0.2592, allocations: 0.6172 MB / 0.9546 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/0.2598, allocations: 237.9 kB / 0.9549 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008678/0.2606, allocations: 0.5092 MB / 0.9554 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.2619, allocations: 0.5886 MB / 0.9559 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.2619, allocations: 7.938 kB / 0.956 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002387/0.2643, allocations: 0.8715 MB / 0.9568 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2643, allocations: 6.344 kB / 0.9568 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.2643, allocations: 7.984 kB / 0.9568 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.2654, allocations: 139.7 kB / 0.957 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007684/0.2662, allocations: 175.7 kB / 0.9571 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/0.2691, allocations: 2.034 MB / 0.9591 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/0.2698, allocations: 71.61 kB / 0.9592 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.2699, allocations: 39.97 kB / 0.9592 GB, free: 10.62 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0005157/0.2705, allocations: 291.2 kB / 0.9595 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.2707, allocations: 111.5 kB / 0.9596 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.2734, allocations: 1.01 MB / 0.9606 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.2734, allocations: 8 kB / 0.9606 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2734, allocations: 4 kB / 0.9606 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.2734, allocations: 7.969 kB / 0.9606 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004247/0.2776, allocations: 1.991 MB / 0.9625 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2776, allocations: 4 kB / 0.9625 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/0.2783, allocations: 143.7 kB / 0.9627 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008374/0.2791, allocations: 123.6 kB / 0.9628 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/0.2792, allocations: 27.97 kB / 0.9628 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/0.2819, allocations: 2.058 MB / 0.9648 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2819, allocations: 0 / 0.9648 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.2843, allocations: 1.056 MB / 0.9659 GB, free: 3.547 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/0.2848, allocations: 199.1 kB / 0.9661 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.285, allocations: 24 kB / 0.9661 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005874/0.2856, allocations: 55.39 kB / 0.9661 GB, free: 3.273 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.2858, allocations: 72.86 kB / 0.9662 GB, free: 3.203 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-05/0.2858, allocations: 43.91 kB / 0.9662 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007283/0.2866, allocations: 495 kB / 0.9667 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.2866, allocations: 0 / 0.9667 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00105/0.2876, allocations: 351 kB / 0.9671 GB, free: 2.336 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003527/0.2911, allocations: 0.652 MB / 0.9677 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001979/0.2931, allocations: 0.875 MB / 0.9685 GB, free: 0.9883 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2931, allocations: 0 / 0.9685 GB, free: 0.9883 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.2942, allocations: 0.5754 MB / 0.9691 GB, free: 404 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.2957, allocations: 325.6 kB / 0.9694 GB, free: 100 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.299, allocations: 1.662 MB / 0.971 GB, free: 14.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.2997, allocations: 440.5 kB / 0.9715 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007765/0.3005, allocations: 246.6 kB / 0.9717 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.3008, allocations: 116.4 kB / 0.9718 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of SimCode: time 7.01e-07/0.3008, allocations: 0 / 0.9718 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of Templates: time 0.03147/0.3323, allocations: 15.74 MB / 0.9872 GB, free: 14.11 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.081945048994385]