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.001777/0.001777, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.001923/0.001923, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.559 MB / 186.7 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 3.4/3.4, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] 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.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 1.523e-06/1.523e-06, allocations: 3.938 kB / 0.8774 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.73e-05, allocations: 6.109 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2208/0.2209, allocations: 161.9 MB / 1.036 GB, free: 4.117 MB / 0.9949 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.2358, allocations: 8.065 MB / 1.043 GB, free: 12.03 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.2371, allocations: 43.69 kB / 1.044 GB, free: 11.99 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.2383, allocations: 400.8 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.2423, allocations: 1.402 MB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.2454, allocations: 1.223 MB / 1.046 GB, free: 8.957 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003539/0.2489, allocations: 2.484 MB / 1.049 GB, free: 6.465 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.2506, allocations: 1.019 MB / 1.05 GB, free: 5.422 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.2526, allocations: 1.243 MB / 1.051 GB, free: 4.176 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.2543, allocations: 0.697 MB / 1.052 GB, free: 3.488 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002887/0.2546, allocations: 156 kB / 1.052 GB, free: 3.336 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.257, allocations: 1.033 MB / 1.053 GB, free: 2.301 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005601/0.2575, allocations: 466.4 kB / 1.053 GB, free: 1.844 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008004/0.2583, allocations: 0.5416 MB / 1.054 GB, free: 1.301 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4738/0.7321, allocations: 2.59 MB / 1.056 GB, free: 53.95 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7321, allocations: 4.125 kB / 1.056 GB, free: 53.95 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7321, allocations: 0 / 1.056 GB, free: 53.95 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.16e-05/0.7322, allocations: 0 / 1.056 GB, free: 53.95 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003209/0.7354, allocations: 2.099 MB / 1.058 GB, free: 52.96 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.7354, allocations: 11.7 kB / 1.059 GB, free: 52.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/0.7378, allocations: 0.4951 MB / 1.059 GB, free: 52.82 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.7394, allocations: 0.9982 MB / 1.06 GB, free: 52.52 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.7395, allocations: 89.61 kB / 1.06 GB, free: 52.52 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.7397, allocations: 120.3 kB / 1.06 GB, free: 52.52 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.7415, allocations: 1.565 MB / 1.062 GB, free: 51.85 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.7415, allocations: 0 / 1.062 GB, free: 51.85 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.7416, allocations: 50.78 kB / 1.062 GB, free: 51.85 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.7417, allocations: 43.23 kB / 1.062 GB, free: 51.85 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.7434, allocations: 1.178 MB / 1.063 GB, free: 51.83 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.005302/0.7487, allocations: 3.864 MB / 1.067 GB, free: 50.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.7502, allocations: 0.8861 MB / 1.068 GB, free: 50.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/0.7507, allocations: 347.8 kB / 1.068 GB, free: 50.44 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-05/0.7508, allocations: 34.25 kB / 1.068 GB, free: 50.44 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009327/0.7517, allocations: 0.8148 MB / 1.069 GB, free: 50.09 MB / 1.01 GB Notification: Performance of pre-optimization done (n=110): time 2.896e-06/0.7517, allocations: 0.8125 kB / 1.069 GB, free: 50.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=110): time 0.003331/0.7551, allocations: 1.292 MB / 1.07 GB, free: 49.96 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.7551, allocations: 206.4 kB / 1.07 GB, free: 49.74 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.7562, allocations: 0.9984 MB / 1.071 GB, free: 49.54 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.881e-05/0.7562, allocations: 55.45 kB / 1.071 GB, free: 49.51 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.7566, allocations: 0.6373 MB / 1.072 GB, free: 49.22 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.7569, allocations: 408.7 kB / 1.072 GB, free: 48.98 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.7572, allocations: 263.7 kB / 1.072 GB, free: 48.95 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7573, allocations: 0.5465 MB / 1.073 GB, free: 48.47 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.7579, allocations: 298.4 kB / 1.073 GB, free: 48.47 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007375/0.7586, allocations: 0.6243 MB / 1.074 GB, free: 48.17 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.7598, allocations: 0.7855 MB / 1.075 GB, free: 48.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.7598, allocations: 0.5469 kB / 1.075 GB, free: 48.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002246/0.762, allocations: 1.08 MB / 1.076 GB, free: 47.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.7621, allocations: 12.8 kB / 1.076 GB, free: 47.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.7621, allocations: 3.594 kB / 1.076 GB, free: 47.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009695/0.763, allocations: 141.1 kB / 1.076 GB, free: 47.89 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008956/0.7639, allocations: 241 kB / 1.076 GB, free: 47.89 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.766, allocations: 2.032 MB / 1.078 GB, free: 46.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.767, allocations: 98.53 kB / 1.078 GB, free: 46.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.7671, allocations: 49.03 kB / 1.078 GB, free: 46.09 MB / 1.01 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.000719/0.7679, allocations: 320.8 kB / 1.079 GB, free: 45.92 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.7682, allocations: 157.7 kB / 1.079 GB, free: 45.86 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.7706, allocations: 1.158 MB / 1.08 GB, free: 45.76 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.7707, allocations: 21.25 kB / 1.08 GB, free: 45.75 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7707, allocations: 0 / 1.08 GB, free: 45.75 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.7707, allocations: 4.359 kB / 1.08 GB, free: 45.75 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/0.7746, allocations: 2.425 MB / 1.082 GB, free: 45.31 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.7746, allocations: 4.125 kB / 1.082 GB, free: 45.31 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/0.7754, allocations: 206 kB / 1.082 GB, free: 45.31 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007359/0.7762, allocations: 128.1 kB / 1.083 GB, free: 45.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.7763, allocations: 35.17 kB / 1.083 GB, free: 45.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.778, allocations: 2.056 MB / 1.085 GB, free: 43.53 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.778, allocations: 0 / 1.085 GB, free: 43.53 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.7808, allocations: 1.612 MB / 1.086 GB, free: 43.23 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/0.7815, allocations: 250.2 kB / 1.086 GB, free: 43.15 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.7817, allocations: 33.53 kB / 1.086 GB, free: 43.15 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008332/0.7825, allocations: 50.39 kB / 1.086 GB, free: 43.15 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.7827, allocations: 90.39 kB / 1.087 GB, free: 43.15 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.7828, allocations: 43.47 kB / 1.087 GB, free: 43.15 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008301/0.7836, allocations: 0.6139 MB / 1.087 GB, free: 43.02 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.7836, allocations: 0.7812 kB / 1.087 GB, free: 43.02 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001474/0.7851, allocations: 454.8 kB / 1.088 GB, free: 42.95 MB / 1.01 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.003633/0.7887, allocations: 0.6906 MB / 1.088 GB, free: 42.76 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002173/0.7909, allocations: 1.032 MB / 1.089 GB, free: 42.55 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.7909, allocations: 1.469 kB / 1.089 GB, free: 42.55 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.792, allocations: 0.6499 MB / 1.09 GB, free: 42.36 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.7943, allocations: 0.5062 MB / 1.09 GB, free: 42.31 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005576/0.7999, allocations: 2.328 MB / 1.093 GB, free: 41.36 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009737/0.8008, allocations: 0.5724 MB / 1.093 GB, free: 41.23 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001178/0.802, allocations: 304.6 kB / 1.094 GB, free: 41.18 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/0.8025, allocations: 134.6 kB / 1.094 GB, free: 41.17 MB / 1.01 GB Notification: Performance of SimCode: time 1.623e-06/0.8025, allocations: 0.9375 kB / 1.094 GB, free: 41.17 MB / 1.01 GB Notification: Performance of Templates: time 0.04582/0.8483, allocations: 22.15 MB / 1.115 GB, free: 38.81 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 240] 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.177855690009892]