Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001518/0.001518, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001751/0.001751, allocations: 173 kB / 23.49 MB, free: 1.062 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.9451/0.9451, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.982/1.982, allocations: 429.5 MB / 0.6736 GB, free: 4.023 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.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.843e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002294/0.002323, allocations: 0.9265 MB / 0.8791 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.003647, allocations: 0.9443 MB / 0.88 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.003729, allocations: 0 / 0.88 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.898e-05/0.003778, allocations: 15.8 kB / 0.88 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.003889, allocations: 16.75 kB / 0.88 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.004148, allocations: 47.81 kB / 0.8801 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.004326, allocations: 140.6 kB / 0.8802 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.004471, allocations: 29.72 kB / 0.8802 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.004698, allocations: 80.98 kB / 0.8803 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/0.004793, allocations: 43.81 kB / 0.8804 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.004822, allocations: 12 kB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.004879, allocations: 21.09 kB / 0.8804 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.00491, allocations: 27.91 kB / 0.8804 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.004957, allocations: 35.86 kB / 0.8804 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.005155, allocations: 96.64 kB / 0.8805 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005158, allocations: 0 / 0.8805 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.273e-06/0.005159, allocations: 0.6562 kB / 0.8805 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.005164, allocations: 0 / 0.8805 GB, free: 4.211 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005858/0.00575, allocations: 464.6 kB / 0.881 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.005791, allocations: 9.375 kB / 0.881 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.006014, allocations: 36.83 kB / 0.881 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.006256, allocations: 155.8 kB / 0.8812 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.006273, allocations: 8.375 kB / 0.8812 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.006292, allocations: 8.938 kB / 0.8812 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.006493, allocations: 100.8 kB / 0.8813 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.006502, allocations: 3.938 kB / 0.8813 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.006518, allocations: 8 kB / 0.8813 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.006527, allocations: 0.6562 kB / 0.8813 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.006617, allocations: 29.98 kB / 0.8813 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.007221, allocations: 369.1 kB / 0.8817 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.007415, allocations: 62.72 kB / 0.8817 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.007453, allocations: 23.69 kB / 0.8818 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.007469, allocations: 0 / 0.8818 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.007491, allocations: 41.33 kB / 0.8818 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.007493, allocations: 0 / 0.8818 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001981/0.007691, allocations: 81.92 kB / 0.8819 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.007723, allocations: 59.34 kB / 0.8819 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.007825, allocations: 203.2 kB / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.007844, allocations: 33.64 kB / 0.8822 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.007906, allocations: 158.8 kB / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.007928, allocations: 20.59 kB / 0.8823 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.007967, allocations: 27.38 kB / 0.8824 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.008075, allocations: 0.4929 MB / 0.8828 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.237e-05/0.008107, allocations: 17.17 kB / 0.8829 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.008167, allocations: 90.41 kB / 0.8829 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.155e-05/0.008219, allocations: 31.67 kB / 0.883 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.00822, allocations: 1.469 kB / 0.883 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.7e-05/0.008317, allocations: 77.77 kB / 0.8831 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.008332, allocations: 6.344 kB / 0.8831 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008337, allocations: 0 / 0.8831 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.008351, allocations: 7.969 kB / 0.8831 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.008413, allocations: 11.98 kB / 0.8831 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.008418, allocations: 0 / 0.8831 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.008454, allocations: 11.89 kB / 0.8831 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-06/0.008462, allocations: 8 kB / 0.8831 GB, free: 1.383 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.658e-05/0.008539, allocations: 168.5 kB / 0.8833 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.00856, allocations: 7.953 kB / 0.8833 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.008588, allocations: 16.78 kB / 0.8833 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.008592, allocations: 7.922 kB / 0.8833 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.008595, allocations: 4 kB / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.008598, allocations: 0 / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.008712, allocations: 152.6 kB / 0.8834 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.008713, allocations: 0 / 0.8834 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.008742, allocations: 8 kB / 0.8834 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.008744, allocations: 0 / 0.8834 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.008753, allocations: 3.984 kB / 0.8834 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.008754, allocations: 0 / 0.8834 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008755, allocations: 3.938 kB / 0.8835 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.008879, allocations: 219.8 kB / 0.8837 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.008893, allocations: 15.89 kB / 0.8837 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.008912, allocations: 4 kB / 0.8837 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/0.008957, allocations: 8 kB / 0.8837 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.009008, allocations: 15.91 kB / 0.8837 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.009015, allocations: 11.98 kB / 0.8837 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.839e-05/0.009063, allocations: 144.2 kB / 0.8839 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.009063, allocations: 0 / 0.8839 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001603/0.009223, allocations: 23.94 kB / 0.8839 GB, free: 0.5117 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.168e-05/0.009315, allocations: 95.25 kB / 0.884 GB, free: 420 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.009432, allocations: 55.62 kB / 0.884 GB, free: 360 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009434, allocations: 0 / 0.884 GB, free: 360 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.009468, allocations: 31.67 kB / 0.884 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.009659, allocations: 12 kB / 0.8841 GB, free: 312 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.01023, allocations: 222.2 kB / 0.8843 GB, free: 60 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.594e-05/0.01027, allocations: 67.33 kB / 0.8843 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.719e-05/0.01031, allocations: 12 kB / 0.8843 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.01035, allocations: 16.48 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.01035, allocations: 0 / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.002593/0.01294, allocations: 1.13 MB / 0.8855 GB, free: 14.85 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.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: 5.040678401011974]