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.001295/0.001295, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001785/0.001785, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9165/0.9165, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.273/2.273, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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.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.573e-06/1.573e-06, allocations: 0 / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.174e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1225/0.1225, allocations: 147.8 MB / 1.034 GB, free: 5.402 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.1332, allocations: 7.364 MB / 1.041 GB, free: 14.02 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.1347, allocations: 39.69 kB / 1.041 GB, free: 13.98 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.1358, allocations: 345.1 kB / 1.042 GB, free: 13.64 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.1388, allocations: 1.223 MB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.1408, allocations: 1.188 MB / 1.044 GB, free: 11.22 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.1426, allocations: 2.456 MB / 1.046 GB, free: 8.754 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000929/0.1436, allocations: 1.015 MB / 1.047 GB, free: 7.723 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.1451, allocations: 1.366 MB / 1.049 GB, free: 6.371 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006047/0.1457, allocations: 0.6309 MB / 1.049 GB, free: 5.738 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.1458, allocations: 144 kB / 1.049 GB, free: 5.598 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.1471, allocations: 0.7564 MB / 1.05 GB, free: 4.84 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.1474, allocations: 454.5 kB / 1.051 GB, free: 4.395 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.1477, allocations: 0.526 MB / 1.051 GB, free: 3.867 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.1493, allocations: 1.705 MB / 1.053 GB, free: 2.156 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1493, allocations: 4 kB / 1.053 GB, free: 2.152 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1493, allocations: 0 / 1.053 GB, free: 2.152 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.1493, allocations: 0 / 1.053 GB, free: 2.152 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.00198/0.1513, allocations: 1.964 MB / 1.055 GB, free: 140 kB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1513, allocations: 12.62 kB / 1.055 GB, free: 128 kB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4175/0.5688, allocations: 490.7 kB / 1.055 GB, free: 57.01 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.5699, allocations: 0.9589 MB / 1.056 GB, free: 56.77 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.5699, allocations: 83.77 kB / 1.056 GB, free: 56.77 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.57, allocations: 122.3 kB / 1.056 GB, free: 56.76 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009013/0.5709, allocations: 1.151 MB / 1.057 GB, free: 56.16 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.571, allocations: 9.562 kB / 1.057 GB, free: 56.16 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.483e-05/0.571, allocations: 48.17 kB / 1.058 GB, free: 56.16 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.5711, allocations: 39.02 kB / 1.058 GB, free: 56.16 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006614/0.5717, allocations: 0.7626 MB / 1.058 GB, free: 56.12 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.002728/0.5744, allocations: 2.846 MB / 1.061 GB, free: 55.05 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.5751, allocations: 0.5802 MB / 1.062 GB, free: 55.01 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.5753, allocations: 198.6 kB / 1.062 GB, free: 55 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.009e-05/0.5753, allocations: 55.72 kB / 1.062 GB, free: 54.99 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.5757, allocations: 0.6212 MB / 1.062 GB, free: 54.65 MB / 1.01 GB Notification: Performance of pre-optimization done (n=110): time 2.174e-06/0.5757, allocations: 0 / 1.062 GB, free: 54.65 MB / 1.01 GB Notification: Performance of matching and sorting (n=110): time 0.001381/0.5771, allocations: 0.9146 MB / 1.063 GB, free: 54.51 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.5772, allocations: 202.4 kB / 1.064 GB, free: 54.29 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.5776, allocations: 0.7363 MB / 1.064 GB, free: 54.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.5777, allocations: 57.39 kB / 1.064 GB, free: 54.07 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.5779, allocations: 0.5837 MB / 1.065 GB, free: 53.83 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.5781, allocations: 380.2 kB / 1.065 GB, free: 53.64 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.5783, allocations: 229.9 kB / 1.066 GB, free: 53.61 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.5784, allocations: 0.5215 MB / 1.066 GB, free: 53.12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.5785, allocations: 136.2 kB / 1.066 GB, free: 53.12 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.5788, allocations: 445.5 kB / 1.067 GB, free: 52.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.5792, allocations: 489.3 kB / 1.067 GB, free: 52.68 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5792, allocations: 0 / 1.067 GB, free: 52.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.000882/0.5801, allocations: 0.7827 MB / 1.068 GB, free: 52.54 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.5801, allocations: 7.594 kB / 1.068 GB, free: 52.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.5801, allocations: 6.078 kB / 1.068 GB, free: 52.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/0.5805, allocations: 129.5 kB / 1.068 GB, free: 52.53 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.581, allocations: 235.4 kB / 1.068 GB, free: 52.53 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.5823, allocations: 1.878 MB / 1.07 GB, free: 50.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/0.5829, allocations: 92.97 kB / 1.07 GB, free: 50.78 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.5829, allocations: 35.38 kB / 1.07 GB, free: 50.78 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.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 (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.0002788/0.5832, allocations: 245.1 kB / 1.07 GB, free: 50.62 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.5834, allocations: 153.7 kB / 1.07 GB, free: 50.55 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.5844, allocations: 0.8972 MB / 1.071 GB, free: 50.46 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.5844, allocations: 14.22 kB / 1.071 GB, free: 50.46 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.5844, allocations: 2.906 kB / 1.071 GB, free: 50.46 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.5844, allocations: 6.047 kB / 1.071 GB, free: 50.46 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.5861, allocations: 1.719 MB / 1.073 GB, free: 50.06 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5861, allocations: 0 / 1.073 GB, free: 50.06 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.5865, allocations: 207 kB / 1.073 GB, free: 50.06 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/0.5868, allocations: 114 kB / 1.073 GB, free: 50.05 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.5869, allocations: 36.48 kB / 1.073 GB, free: 50.05 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007257/0.5876, allocations: 1.894 MB / 1.075 GB, free: 48.31 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5876, allocations: 0 / 1.075 GB, free: 48.31 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.5886, allocations: 1.106 MB / 1.076 GB, free: 48.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.5889, allocations: 240.1 kB / 1.077 GB, free: 47.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.5889, allocations: 32.16 kB / 1.077 GB, free: 47.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.5892, allocations: 43.44 kB / 1.077 GB, free: 47.95 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.5893, allocations: 88.33 kB / 1.077 GB, free: 47.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.5894, allocations: 35.14 kB / 1.077 GB, free: 47.95 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002593/0.5896, allocations: 453.1 kB / 1.077 GB, free: 47.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5896, allocations: 0 / 1.077 GB, free: 47.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006651/0.5903, allocations: 457.7 kB / 1.078 GB, free: 47.79 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.001095/0.5914, allocations: 0.6481 MB / 1.078 GB, free: 47.64 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006492/0.592, allocations: 0.711 MB / 1.079 GB, free: 47.44 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.592, allocations: 0 / 1.079 GB, free: 47.44 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.5924, allocations: 0.4991 MB / 1.079 GB, free: 47.24 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009883/0.5934, allocations: 0.5037 MB / 1.08 GB, free: 47.18 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.5957, allocations: 2.167 MB / 1.082 GB, free: 46.22 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.5959, allocations: 246.1 kB / 1.082 GB, free: 46.14 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005421/0.5964, allocations: 238.5 kB / 1.083 GB, free: 46.08 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007275/0.5971, allocations: 0.5022 MB / 1.083 GB, free: 46.02 MB / 1.01 GB Notification: Performance of SimCode: time 4.11e-07/0.5971, allocations: 0 / 1.083 GB, free: 46.02 MB / 1.01 GB Notification: Performance of Templates: time 0.02974/0.6269, allocations: 23.73 MB / 1.106 GB, free: 43.62 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","",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.642477128189057]