Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001876/0.001876, allocations: 79.7 kB / 20.23 MB, free: 4.188 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.002037/0.002037, 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.523/1.523, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.851/2.851, allocations: 359 MB / 0.6048 GB, free: 10.93 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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.933e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008747/0.008776, allocations: 5.086 MB / 0.7913 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2097/0.2184, allocations: 146.3 MB / 0.9342 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007935/0.2192, allocations: 23.81 kB / 0.9343 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.2199, allocations: 210.1 kB / 0.9345 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.2218, allocations: 0.6018 MB / 0.935 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.224, allocations: 0.8841 MB / 0.9359 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001949/0.226, allocations: 1.548 MB / 0.9374 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008055/0.2268, allocations: 406.8 kB / 0.9378 GB, free: 1.176 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.228, allocations: 0.7835 MB / 0.9386 GB, free: 400 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000728/0.2288, allocations: 434.7 kB / 0.939 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.229, allocations: 128 kB / 0.9391 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.2301, allocations: 0.4993 MB / 0.9396 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.2304, allocations: 330.9 kB / 0.9399 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005607/0.231, allocations: 418.9 kB / 0.9403 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002762/0.2337, allocations: 1.869 MB / 0.9421 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2337, allocations: 0 / 0.9421 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2337, allocations: 3.938 kB / 0.9421 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.2338, allocations: 0 / 0.9421 GB, free: 12.73 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003162/0.2369, allocations: 1.672 MB / 0.9438 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.237, allocations: 11.97 kB / 0.9438 GB, free: 11 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.2385, allocations: 339.5 kB / 0.9441 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.2399, allocations: 0.7598 MB / 0.9449 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.261e-05/0.24, allocations: 82.09 kB / 0.9449 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.2402, allocations: 96 kB / 0.945 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.2422, allocations: 1.262 MB / 0.9463 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.2422, allocations: 0 / 0.9463 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.734e-05/0.2423, allocations: 39.98 kB / 0.9463 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.2424, allocations: 24 kB / 0.9463 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.2443, allocations: 1.046 MB / 0.9473 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005446/0.2498, allocations: 3.129 MB / 0.9504 GB, free: 3.98 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.2514, allocations: 0.7748 MB / 0.9512 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.252, allocations: 282.6 kB / 0.9514 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.889e-05/0.2521, allocations: 36.91 kB / 0.9515 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.2531, allocations: 0.6356 MB / 0.9521 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=93): time 2.385e-06/0.2531, allocations: 0 / 0.9521 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of matching and sorting (n=93): time 0.003428/0.2566, allocations: 1.132 MB / 0.9532 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.2567, allocations: 208.8 kB / 0.9534 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.2579, allocations: 0.7846 MB / 0.9541 GB, free: 16 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.258, allocations: 57.69 kB / 0.9542 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/0.2586, allocations: 0.4962 MB / 0.9547 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/0.259, allocations: 341.4 kB / 0.955 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/0.2594, allocations: 224.2 kB / 0.9552 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004875/0.2599, allocations: 0.6211 MB / 0.9558 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007573/0.2606, allocations: 253.9 kB / 0.9561 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000854/0.2615, allocations: 0.5174 MB / 0.9566 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.2627, allocations: 0.6241 MB / 0.9572 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2627, allocations: 0 / 0.9572 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002234/0.2649, allocations: 0.9144 MB / 0.9581 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.265, allocations: 9.719 kB / 0.9581 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.265, allocations: 0 / 0.9581 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009925/0.266, allocations: 131.7 kB / 0.9582 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008117/0.2668, allocations: 191.7 kB / 0.9584 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.2695, allocations: 2.038 MB / 0.9604 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/0.2701, allocations: 86.48 kB / 0.9605 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.862e-05/0.2702, allocations: 40.03 kB / 0.9605 GB, free: 9.258 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 (113): * Single equations (assignments): 112 * 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.0004667/0.2707, allocations: 291 kB / 0.9608 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.2709, allocations: 123.4 kB / 0.9609 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.2735, allocations: 1.045 MB / 0.9619 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2735, allocations: 11.94 kB / 0.9619 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.2735, allocations: 4 kB / 0.9619 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.2736, allocations: 11.95 kB / 0.962 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/0.2778, allocations: 2.084 MB / 0.964 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2778, allocations: 7.938 kB / 0.964 GB, free: 5.594 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/0.2785, allocations: 159.8 kB / 0.9641 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008109/0.2793, allocations: 123.6 kB / 0.9643 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.2793, allocations: 27.98 kB / 0.9643 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/0.2819, allocations: 2.05 MB / 0.9663 GB, free: 3.105 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2819, allocations: 0 / 0.9663 GB, free: 3.105 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.285, allocations: 1.445 MB / 0.9677 GB, free: 1.637 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/0.2856, allocations: 207 kB / 0.9679 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.2858, allocations: 27.92 kB / 0.9679 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.2864, allocations: 48 kB / 0.968 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.2866, allocations: 84.78 kB / 0.9681 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/0.2867, allocations: 39.97 kB / 0.9681 GB, free: 1.238 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007655/0.2874, allocations: 0.4951 MB / 0.9686 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.2874, allocations: 0 / 0.9686 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001059/0.2885, allocations: 355.1 kB / 0.9689 GB, free: 412 kB / 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 (104): * Single equations (assignments): 93 * 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.003553/0.2921, allocations: 0.6625 MB / 0.9696 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.2942, allocations: 0.9139 MB / 0.9705 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.2942, allocations: 7.938 kB / 0.9705 GB, free: 15 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.2954, allocations: 0.5988 MB / 0.971 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.2972, allocations: 328.4 kB / 0.9714 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.3014, allocations: 1.849 MB / 0.9732 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/0.3023, allocations: 461.9 kB / 0.9736 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001087/0.3033, allocations: 263 kB / 0.9739 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.3038, allocations: 112.4 kB / 0.974 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of SimCode: time 2.665e-06/0.3038, allocations: 0 / 0.974 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of Templates: time 0.0335/0.3373, allocations: 16.13 MB / 0.9897 GB, free: 11.49 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.87811612803489]