Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001043/0.001043, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0009711/0.0009711, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9369/0.9369, allocations: 177.1 MB / 204.5 MB, free: 5.504 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 2.129/2.129, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0.875 kB / 0.8794 GB, free: 4.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014e-05/1.166e-05, allocations: 2.312 kB / 0.8794 GB, free: 4.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005078/0.005089, allocations: 5.053 MB / 0.8843 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.594/0.5991, allocations: 143.9 MB / 1.025 GB, free: 19.11 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008484/0.5999, allocations: 25.52 kB / 1.025 GB, free: 19.11 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0006612/0.6006, allocations: 208.2 kB / 1.025 GB, free: 19.11 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.6022, allocations: 0.6066 MB / 1.026 GB, free: 19.11 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.6039, allocations: 0.8793 MB / 1.026 GB, free: 19.11 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001607/0.6055, allocations: 1.536 MB / 1.028 GB, free: 19.1 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006711/0.6062, allocations: 421.5 kB / 1.028 GB, free: 19.03 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.6073, allocations: 0.8104 MB / 1.029 GB, free: 19.03 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.6079, allocations: 404.9 kB / 1.03 GB, free: 19.03 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.6081, allocations: 116.5 kB / 1.03 GB, free: 19.03 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007918/0.6089, allocations: 499.6 kB / 1.03 GB, free: 19.02 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.6091, allocations: 310.6 kB / 1.03 GB, free: 19.02 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004582/0.6096, allocations: 403.7 kB / 1.031 GB, free: 19.02 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.6111, allocations: 1.283 MB / 1.032 GB, free: 18.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6111, allocations: 1.438 kB / 1.032 GB, free: 18.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6111, allocations: 0.7812 kB / 1.032 GB, free: 18.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.557e-05/0.6111, allocations: 0 / 1.032 GB, free: 18.9 MB / 0.9323 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.002052/0.6131, allocations: 1.589 MB / 1.034 GB, free: 18.05 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6132, allocations: 9.906 kB / 1.034 GB, free: 18.05 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009751/0.6141, allocations: 335.8 kB / 1.034 GB, free: 17.95 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008943/0.615, allocations: 0.7278 MB / 1.035 GB, free: 17.69 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.6151, allocations: 75.53 kB / 1.035 GB, free: 17.68 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.6152, allocations: 94.14 kB / 1.035 GB, free: 17.68 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009556/0.6162, allocations: 0.9132 MB / 1.036 GB, free: 17.25 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.6162, allocations: 1.062 kB / 1.036 GB, free: 17.25 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.6163, allocations: 40.91 kB / 1.036 GB, free: 17.25 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.6163, allocations: 22.91 kB / 1.036 GB, free: 17.25 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.6174, allocations: 0.6994 MB / 1.036 GB, free: 17.23 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.62, allocations: 2.26 MB / 1.039 GB, free: 16.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007425/0.6208, allocations: 499 kB / 1.039 GB, free: 16.25 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.621, allocations: 169.6 kB / 1.039 GB, free: 16.24 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.621, allocations: 29.22 kB / 1.039 GB, free: 16.24 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.6215, allocations: 486.3 kB / 1.04 GB, free: 16.02 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=93): time 3.386e-06/0.6215, allocations: 0.875 kB / 1.04 GB, free: 16.02 MB / 0.9323 GB Notification: Performance of matching and sorting (n=93): time 0.001522/0.623, allocations: 0.799 MB / 1.041 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.6231, allocations: 200.1 kB / 1.041 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.6237, allocations: 0.583 MB / 1.041 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.819e-05/0.6238, allocations: 46.64 kB / 1.041 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.624, allocations: 475.9 kB / 1.042 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.6242, allocations: 315.9 kB / 1.042 GB, free: 15 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.6244, allocations: 202.2 kB / 1.042 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6245, allocations: 0.5749 MB / 1.043 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.6247, allocations: 113.3 kB / 1.043 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.625, allocations: 362.8 kB / 1.043 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004419/0.6255, allocations: 360.2 kB / 1.044 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.6255, allocations: 0 / 1.044 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001202/0.6267, allocations: 0.6429 MB / 1.044 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.6267, allocations: 6.344 kB / 1.044 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6267, allocations: 2.141 kB / 1.044 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004702/0.6272, allocations: 132 kB / 1.044 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.6276, allocations: 191.5 kB / 1.045 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.6287, allocations: 1.872 MB / 1.046 GB, free: 12.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.6291, allocations: 83.75 kB / 1.047 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.6291, allocations: 32.95 kB / 1.047 GB, free: 12.3 MB / 0.9323 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0002117/0.6293, allocations: 218.7 kB / 1.047 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.6295, allocations: 119.6 kB / 1.047 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.6307, allocations: 0.8147 MB / 1.048 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.6307, allocations: 10.2 kB / 1.048 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6307, allocations: 2.062 kB / 1.048 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.6307, allocations: 5.062 kB / 1.048 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.6326, allocations: 1.498 MB / 1.049 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6326, allocations: 1.5 kB / 1.049 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.633, allocations: 157.2 kB / 1.049 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/0.6334, allocations: 115.5 kB / 1.049 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.6334, allocations: 28.34 kB / 1.049 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008938/0.6343, allocations: 1.892 MB / 1.051 GB, free: 9.801 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6343, allocations: 0 / 1.051 GB, free: 9.801 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.6356, allocations: 0.9846 MB / 1.052 GB, free: 9.516 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.6359, allocations: 198.5 kB / 1.052 GB, free: 9.449 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.174e-05/0.6359, allocations: 30.17 kB / 1.053 GB, free: 9.445 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.6362, allocations: 47.09 kB / 1.053 GB, free: 9.441 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.6364, allocations: 73.62 kB / 1.053 GB, free: 9.441 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.6364, allocations: 31.2 kB / 1.053 GB, free: 9.441 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003021/0.6367, allocations: 372.4 kB / 1.053 GB, free: 9.305 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6367, allocations: 0 / 1.053 GB, free: 9.305 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008463/0.6375, allocations: 349.6 kB / 1.053 GB, free: 9.246 MB / 0.9323 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 (103): * Single equations (assignments): 92 * 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.001211/0.6388, allocations: 0.6263 MB / 1.054 GB, free: 9.051 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008169/0.6396, allocations: 0.6355 MB / 1.055 GB, free: 8.84 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6396, allocations: 2.031 kB / 1.055 GB, free: 8.84 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.64, allocations: 475.1 kB / 1.055 GB, free: 8.645 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000821/0.6409, allocations: 321.6 kB / 1.055 GB, free: 8.621 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.6433, allocations: 1.698 MB / 1.057 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.6435, allocations: 201.8 kB / 1.057 GB, free: 7.773 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004655/0.6439, allocations: 190.1 kB / 1.057 GB, free: 7.73 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/0.6446, allocations: 380 kB / 1.058 GB, free: 7.664 MB / 0.9323 GB Notification: Performance of SimCode: time 1.082e-06/0.6446, allocations: 0.9062 kB / 1.058 GB, free: 7.664 MB / 0.9323 GB Notification: Performance of Templates: time 0.02151/0.6661, allocations: 17.48 MB / 1.075 GB, free: 5.902 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.659690054133534]