Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.002554/0.002554, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.003074/0.003074, allocations: 157.7 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.58/1.58, allocations: 177.2 MB / 203.9 MB, free: 5.602 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.866/2.866, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] 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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.598e-05, allocations: 7.062 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.008399/0.008425, allocations: 4.957 MB / 0.7912 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2057/0.2142, allocations: 146.3 MB / 0.9341 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007065/0.2149, allocations: 23.81 kB / 0.9341 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.2155, allocations: 198.1 kB / 0.9343 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.2172, allocations: 0.5862 MB / 0.9349 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.2192, allocations: 0.8763 MB / 0.9357 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.221, allocations: 1.521 MB / 0.9372 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007323/0.2217, allocations: 403.6 kB / 0.9376 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.2228, allocations: 0.7641 MB / 0.9383 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007176/0.2235, allocations: 430.6 kB / 0.9388 GB, free: 240 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002212/0.2237, allocations: 124 kB / 0.9389 GB, free: 116 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.2247, allocations: 0.4954 MB / 0.9394 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003673/0.2251, allocations: 318.9 kB / 0.9397 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005109/0.2256, allocations: 414.9 kB / 0.9401 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.228, allocations: 1.838 MB / 0.9419 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.228, allocations: 0 / 0.9419 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.657e-06/0.228, allocations: 7.984 kB / 0.9419 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.228, allocations: 0 / 0.9419 GB, free: 13.05 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003088/0.2311, allocations: 1.652 MB / 0.9435 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2311, allocations: 8.031 kB / 0.9435 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.2327, allocations: 335.5 kB / 0.9438 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.2341, allocations: 0.7481 MB / 0.9445 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.2341, allocations: 70.12 kB / 0.9446 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.2343, allocations: 95.98 kB / 0.9447 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.2363, allocations: 1.239 MB / 0.9459 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.2363, allocations: 0 / 0.9459 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.99e-05/0.2364, allocations: 43.98 kB / 0.9459 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.2364, allocations: 20 kB / 0.946 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.2384, allocations: 1.042 MB / 0.947 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005443/0.2438, allocations: 3.087 MB / 0.95 GB, free: 4.426 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.2454, allocations: 0.7397 MB / 0.9507 GB, free: 3.684 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005587/0.2459, allocations: 279.7 kB / 0.951 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-05/0.246, allocations: 28.97 kB / 0.951 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.2471, allocations: 0.6277 MB / 0.9516 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=90): time 2.274e-06/0.2471, allocations: 0 / 0.9516 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90): time 0.003308/0.2504, allocations: 1.109 MB / 0.9527 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.2505, allocations: 204.9 kB / 0.9529 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.2516, allocations: 0.773 MB / 0.9537 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.775e-05/0.2516, allocations: 49.7 kB / 0.9537 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.2521, allocations: 500 kB / 0.9542 GB, free: 4 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.2524, allocations: 325.6 kB / 0.9545 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/0.2528, allocations: 224.2 kB / 0.9547 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004087/0.2532, allocations: 0.621 MB / 0.9553 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/0.2538, allocations: 249.9 kB / 0.9556 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008027/0.2546, allocations: 0.5095 MB / 0.956 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.2558, allocations: 0.6006 MB / 0.9566 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.2558, allocations: 4 kB / 0.9566 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002283/0.258, allocations: 0.8832 MB / 0.9575 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2581, allocations: 11.94 kB / 0.9575 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2581, allocations: 0 / 0.9575 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009886/0.2591, allocations: 143.6 kB / 0.9576 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.2598, allocations: 183.7 kB / 0.9578 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.2625, allocations: 2.03 MB / 0.9598 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.2631, allocations: 90.58 kB / 0.9599 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/0.2632, allocations: 35.98 kB / 0.9599 GB, free: 9.883 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 109 * 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.0004829/0.2637, allocations: 295.2 kB / 0.9602 GB, free: 9.582 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.2639, allocations: 115.4 kB / 0.9603 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.2664, allocations: 1.03 MB / 0.9613 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.2664, allocations: 8 kB / 0.9613 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2664, allocations: 0 / 0.9613 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.2664, allocations: 7.984 kB / 0.9613 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.2704, allocations: 2.041 MB / 0.9633 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2704, allocations: 0 / 0.9633 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.271, allocations: 155.7 kB / 0.9635 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007765/0.2718, allocations: 123.5 kB / 0.9636 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.2e-05/0.2719, allocations: 27.98 kB / 0.9636 GB, free: 6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.2744, allocations: 2.058 MB / 0.9656 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2744, allocations: 0 / 0.9656 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.2773, allocations: 1.41 MB / 0.967 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/0.2778, allocations: 199.1 kB / 0.9672 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.2779, allocations: 35.88 kB / 0.9672 GB, free: 2.148 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/0.2784, allocations: 46.69 kB / 0.9673 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.2786, allocations: 80.84 kB / 0.9674 GB, free: 2.023 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.2787, allocations: 35.98 kB / 0.9674 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006694/0.2793, allocations: 0.4951 MB / 0.9679 GB, free: 1.496 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.2793, allocations: 0 / 0.9679 GB, free: 1.496 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000962/0.2803, allocations: 351.1 kB / 0.9682 GB, free: 1.152 MB / 0.9167 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: 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 (101): * Single equations (assignments): 90 * 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.00334/0.2837, allocations: 0.6689 MB / 0.9689 GB, free: 0.6875 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.2855, allocations: 0.8908 MB / 0.9697 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.2855, allocations: 4 kB / 0.9697 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.2865, allocations: 0.583 MB / 0.9703 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.2878, allocations: 328 kB / 0.9706 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.2912, allocations: 1.755 MB / 0.9723 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.2917, allocations: 453.3 kB / 0.9728 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007529/0.2925, allocations: 262.8 kB / 0.973 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.2928, allocations: 108.5 kB / 0.9731 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of SimCode: time 7.22e-07/0.2928, allocations: 0 / 0.9731 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of Templates: time 0.03046/0.3232, allocations: 15.97 MB / 0.9887 GB, free: 12.54 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.940750631969422]