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.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.0008503/0.0008503, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008062/0.0008062, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8979/0.8979, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.752/1.752, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.114e-06/2.114e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.422e-05, allocations: 6.219 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.004878/0.004912, allocations: 4.662 MB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6483/0.6532, allocations: 132.8 MB / 1.135 GB, free: 14.8 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008917/0.6541, allocations: 23.72 kB / 1.135 GB, free: 14.79 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.6547, allocations: 204 kB / 1.135 GB, free: 14.66 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.6563, allocations: 0.5969 MB / 1.136 GB, free: 14.3 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.6582, allocations: 0.8792 MB / 1.137 GB, free: 13.84 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.6595, allocations: 1.511 MB / 1.138 GB, free: 13.04 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006398/0.6602, allocations: 407.9 kB / 1.139 GB, free: 12.81 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008127/0.661, allocations: 0.7601 MB / 1.139 GB, free: 12.46 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.6614, allocations: 420.6 kB / 1.14 GB, free: 12.3 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.6616, allocations: 125.5 kB / 1.14 GB, free: 12.3 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000886/0.6625, allocations: 0.4985 MB / 1.14 GB, free: 12.18 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.6628, allocations: 327 kB / 1.141 GB, free: 11.97 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.6631, allocations: 404.7 kB / 1.141 GB, free: 11.77 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.6651, allocations: 1.838 MB / 1.143 GB, free: 11.01 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.6651, allocations: 0 / 1.143 GB, free: 11.01 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6651, allocations: 0 / 1.143 GB, free: 11.01 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.6651, allocations: 0 / 1.143 GB, free: 11.01 MB / 1.01 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.002038/0.6672, allocations: 1.463 MB / 1.144 GB, free: 10.05 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.6672, allocations: 10.67 kB / 1.144 GB, free: 10.05 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008291/0.6681, allocations: 235.8 kB / 1.145 GB, free: 9.984 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.6691, allocations: 0.743 MB / 1.145 GB, free: 9.516 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.6692, allocations: 72.8 kB / 1.145 GB, free: 9.484 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.6693, allocations: 93.78 kB / 1.145 GB, free: 9.453 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.6707, allocations: 1.207 MB / 1.147 GB, free: 8.703 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.6707, allocations: 1.094 kB / 1.147 GB, free: 8.703 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/0.6708, allocations: 37.62 kB / 1.147 GB, free: 8.676 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.6708, allocations: 21.47 kB / 1.147 GB, free: 8.676 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.6722, allocations: 1.083 MB / 1.148 GB, free: 8.414 MB / 1.01 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.003053/0.6753, allocations: 2.272 MB / 1.15 GB, free: 7.086 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.6765, allocations: 0.8107 MB / 1.151 GB, free: 6.777 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/0.6769, allocations: 305.5 kB / 1.151 GB, free: 6.656 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.96e-05/0.677, allocations: 25.66 kB / 1.151 GB, free: 6.652 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007707/0.6778, allocations: 0.6129 MB / 1.152 GB, free: 6.312 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.184e-06/0.6778, allocations: 0 / 1.152 GB, free: 6.312 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.0021/0.6799, allocations: 1.185 MB / 1.153 GB, free: 5.887 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/0.68, allocations: 204.2 kB / 1.153 GB, free: 5.66 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/0.6807, allocations: 0.6139 MB / 1.154 GB, free: 5.391 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.6807, allocations: 50.23 kB / 1.154 GB, free: 5.344 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.681, allocations: 421.6 kB / 1.154 GB, free: 5.016 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.6812, allocations: 312.2 kB / 1.154 GB, free: 4.766 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.6814, allocations: 177.3 kB / 1.154 GB, free: 4.684 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.6816, allocations: 391.3 kB / 1.155 GB, free: 4.336 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.682, allocations: 296.5 kB / 1.155 GB, free: 4.234 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.6825, allocations: 0.515 MB / 1.156 GB, free: 3.906 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008569/0.6834, allocations: 0.6583 MB / 1.156 GB, free: 3.598 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.6834, allocations: 5.25 kB / 1.156 GB, free: 3.594 MB / 1.01 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001362/0.6848, allocations: 0.9347 MB / 1.157 GB, free: 3.223 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6848, allocations: 5.703 kB / 1.157 GB, free: 3.223 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6848, allocations: 1.406 kB / 1.157 GB, free: 3.223 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.6851, allocations: 79.25 kB / 1.157 GB, free: 3.207 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.6856, allocations: 175.2 kB / 1.157 GB, free: 3.191 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.687, allocations: 1.506 MB / 1.159 GB, free: 1.812 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.6874, allocations: 101.7 kB / 1.159 GB, free: 1.758 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.6875, allocations: 35.73 kB / 1.159 GB, free: 1.754 MB / 1.01 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.0003204/0.6878, allocations: 281 kB / 1.159 GB, free: 1.543 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.6879, allocations: 85.41 kB / 1.159 GB, free: 1.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.6895, allocations: 1.1 MB / 1.16 GB, free: 1.066 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.6896, allocations: 10.34 kB / 1.16 GB, free: 1.066 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6896, allocations: 4.016 kB / 1.16 GB, free: 1.066 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.6896, allocations: 4.688 kB / 1.161 GB, free: 1.066 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.6921, allocations: 1.905 MB / 1.162 GB, free: 140 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6921, allocations: 1.344 kB / 1.162 GB, free: 140 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.6924, allocations: 157.4 kB / 1.163 GB, free: 124 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.6927, allocations: 73.7 kB / 1.163 GB, free: 104 kB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.6927, allocations: 24.89 kB / 1.163 GB, free: 92 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.6939, allocations: 1.528 MB / 1.164 GB, free: 14.71 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6939, allocations: 4.672 kB / 1.164 GB, free: 14.7 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.6957, allocations: 1.456 MB / 1.166 GB, free: 14.05 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.696, allocations: 194.6 kB / 1.166 GB, free: 13.94 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.6961, allocations: 24.09 kB / 1.166 GB, free: 13.93 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.6964, allocations: 73.06 kB / 1.166 GB, free: 13.91 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.6966, allocations: 77.7 kB / 1.166 GB, free: 13.89 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.6966, allocations: 37.19 kB / 1.166 GB, free: 13.89 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.000432/0.697, allocations: 448.1 kB / 1.166 GB, free: 13.69 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.697, allocations: 4.062 kB / 1.166 GB, free: 13.68 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008168/0.6979, allocations: 347 kB / 1.167 GB, free: 13.59 MB / 1.026 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 (100): * Single equations (assignments): 89 * 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.001138/0.699, allocations: 0.6632 MB / 1.167 GB, free: 13.33 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.7002, allocations: 0.8557 MB / 1.168 GB, free: 12.98 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7002, allocations: 1.219 kB / 1.168 GB, free: 12.98 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005734/0.7008, allocations: 0.4981 MB / 1.169 GB, free: 12.75 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007877/0.7016, allocations: 289 kB / 1.169 GB, free: 12.65 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.7039, allocations: 1.836 MB / 1.171 GB, free: 11.67 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.7043, allocations: 457.3 kB / 1.171 GB, free: 11.54 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.7045, allocations: 125.7 kB / 1.171 GB, free: 11.51 MB / 1.026 GB Notification: Performance of SimCode: time 1.102e-06/0.7045, allocations: 0 / 1.171 GB, free: 11.51 MB / 1.026 GB Notification: Performance of Templates: time 0.01758/0.7221, allocations: 19.7 MB / 1.191 GB, free: 4.746 MB / 1.026 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.11863855458796]