Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001744/0.001744, allocations: 80.44 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002109/0.002109, allocations: 165.7 kB / 22.46 MB, free: 5.355 MB / 14.72 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.446/1.446, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.941/2.941, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] 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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.916e-05/4.14e-05, allocations: 5.656 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.953/0.9531, allocations: 146.3 MB / 1.143 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.9647, allocations: 7.544 MB / 1.15 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.9664, allocations: 43.62 kB / 1.15 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.9676, allocations: 401 kB / 1.151 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004047/0.9717, allocations: 1.409 MB / 1.152 GB, free: 45.06 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.9747, allocations: 1.224 MB / 1.153 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003113/0.9779, allocations: 2.486 MB / 1.156 GB, free: 44.87 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.9794, allocations: 0.9756 MB / 1.157 GB, free: 44.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.9812, allocations: 1.248 MB / 1.158 GB, free: 44.67 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.9826, allocations: 0.6743 MB / 1.159 GB, free: 44.6 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.9828, allocations: 158.5 kB / 1.159 GB, free: 44.6 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.9853, allocations: 1.035 MB / 1.16 GB, free: 44.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.9858, allocations: 462.6 kB / 1.16 GB, free: 44.45 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006938/0.9865, allocations: 0.5447 MB / 1.161 GB, free: 44.38 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004191/0.9907, allocations: 2.586 MB / 1.163 GB, free: 44.13 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.9907, allocations: 0.8438 kB / 1.163 GB, free: 44.13 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9907, allocations: 2.781 kB / 1.163 GB, free: 44.13 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.07e-05/0.9907, allocations: 0.9375 kB / 1.163 GB, free: 44.13 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003448/0.9942, allocations: 1.887 MB / 1.165 GB, free: 43.19 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.9942, allocations: 14.28 kB / 1.165 GB, free: 43.19 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/0.9968, allocations: 375 kB / 1.165 GB, free: 43.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.9986, allocations: 0.9741 MB / 1.166 GB, free: 42.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.9986, allocations: 86.61 kB / 1.167 GB, free: 42.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.9988, allocations: 115.2 kB / 1.167 GB, free: 42.78 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/1.001, allocations: 1.545 MB / 1.168 GB, free: 42.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/1.001, allocations: 5.344 kB / 1.168 GB, free: 42.16 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/1.001, allocations: 49.12 kB / 1.168 GB, free: 42.16 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-05/1.001, allocations: 41.14 kB / 1.168 GB, free: 42.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/1.004, allocations: 1.265 MB / 1.169 GB, free: 42.14 MB / 1.076 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.005566/1.009, allocations: 2.898 MB / 1.172 GB, free: 41.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/1.012, allocations: 0.9848 MB / 1.173 GB, free: 41.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007206/1.012, allocations: 389.2 kB / 1.174 GB, free: 41.23 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.466e-05/1.012, allocations: 33.19 kB / 1.174 GB, free: 41.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/1.014, allocations: 0.807 MB / 1.174 GB, free: 40.9 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 3.978e-06/1.014, allocations: 0.8438 kB / 1.174 GB, free: 40.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.004281/1.018, allocations: 1.406 MB / 1.176 GB, free: 40.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/1.018, allocations: 204.2 kB / 1.176 GB, free: 40.55 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/1.019, allocations: 0.8075 MB / 1.177 GB, free: 40.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/1.019, allocations: 56.56 kB / 1.177 GB, free: 40.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/1.02, allocations: 0.5352 MB / 1.177 GB, free: 40.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000336/1.02, allocations: 374.8 kB / 1.178 GB, free: 39.9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/1.021, allocations: 216.8 kB / 1.178 GB, free: 39.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.021, allocations: 352.7 kB / 1.178 GB, free: 39.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000805/1.022, allocations: 362.5 kB / 1.179 GB, free: 39.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/1.023, allocations: 0.6323 MB / 1.179 GB, free: 39.31 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/1.024, allocations: 0.8443 MB / 1.18 GB, free: 39.21 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/1.024, allocations: 1.156 kB / 1.18 GB, free: 39.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002914/1.027, allocations: 1.157 MB / 1.181 GB, free: 39.08 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.027, allocations: 6.75 kB / 1.181 GB, free: 39.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.027, allocations: 2.625 kB / 1.181 GB, free: 39.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006694/1.028, allocations: 86.36 kB / 1.181 GB, free: 39.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000989/1.029, allocations: 226.5 kB / 1.182 GB, free: 39.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/1.031, allocations: 1.511 MB / 1.183 GB, free: 37.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.032, allocations: 115 kB / 1.183 GB, free: 37.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/1.032, allocations: 47.36 kB / 1.183 GB, free: 37.64 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (137): * Single equations (assignments): 136 * 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.0007251/1.033, allocations: 333.8 kB / 1.183 GB, free: 37.42 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/1.033, allocations: 123.8 kB / 1.184 GB, free: 37.35 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/1.036, allocations: 1.268 MB / 1.185 GB, free: 36.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/1.036, allocations: 13.38 kB / 1.185 GB, free: 36.86 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.036, allocations: 1.062 kB / 1.185 GB, free: 36.86 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/1.036, allocations: 5.672 kB / 1.185 GB, free: 36.86 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004646/1.041, allocations: 2.27 MB / 1.187 GB, free: 35.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.041, allocations: 0.5625 kB / 1.187 GB, free: 35.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009342/1.042, allocations: 210.4 kB / 1.187 GB, free: 35.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/1.042, allocations: 75.05 kB / 1.187 GB, free: 35.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.218e-05/1.042, allocations: 35.72 kB / 1.187 GB, free: 35.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/1.044, allocations: 1.514 MB / 1.189 GB, free: 34.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.044, allocations: 0.7969 kB / 1.189 GB, free: 34.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/1.047, allocations: 1.692 MB / 1.19 GB, free: 33.69 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006268/1.048, allocations: 258.4 kB / 1.191 GB, free: 33.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/1.048, allocations: 35.56 kB / 1.191 GB, free: 33.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009292/1.049, allocations: 70.86 kB / 1.191 GB, free: 33.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/1.049, allocations: 88.14 kB / 1.191 GB, free: 33.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.57e-05/1.05, allocations: 42.12 kB / 1.191 GB, free: 33.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008515/1.05, allocations: 0.5602 MB / 1.192 GB, free: 33.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/1.05, allocations: 0 / 1.192 GB, free: 33.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001326/1.052, allocations: 458.5 kB / 1.192 GB, free: 33.12 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (120): * Single equations (assignments): 109 * 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.002294/1.054, allocations: 0.6671 MB / 1.193 GB, free: 32.91 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002522/1.056, allocations: 1.008 MB / 1.194 GB, free: 32.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.056, allocations: 1 kB / 1.194 GB, free: 32.53 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/1.058, allocations: 0.5831 MB / 1.194 GB, free: 32.29 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/1.06, allocations: 485.5 kB / 1.195 GB, free: 32.14 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/1.065, allocations: 2.38 MB / 1.197 GB, free: 30.96 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008199/1.066, allocations: 0.5813 MB / 1.198 GB, free: 30.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001442/1.067, allocations: 319.7 kB / 1.198 GB, free: 30.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/1.068, allocations: 134.6 kB / 1.198 GB, free: 30.75 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/1.068, allocations: 0 / 1.198 GB, free: 30.75 MB / 1.076 GB Notification: Performance of Templates: time 0.04194/1.11, allocations: 21.75 MB / 1.219 GB, free: 28.16 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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: 10.289516936987638]