Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001209/0.001209, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001498/0.001498, allocations: 169 kB / 23.82 MB, free: 0.7461 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.8999/0.8999, allocations: 177.1 MB / 204.2 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.669/1.669, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.998e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001487/0.001507, allocations: 0.9171 MB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000936/0.002443, allocations: 0.9456 MB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.002511, allocations: 4.938 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.077e-05/0.002551, allocations: 11.86 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.002652, allocations: 20.89 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.002876, allocations: 51.83 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.00301, allocations: 131.6 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.003128, allocations: 30.28 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.003326, allocations: 80.55 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.359e-05/0.003409, allocations: 44.72 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.003432, allocations: 12 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.324e-05/0.003475, allocations: 16 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.003494, allocations: 24.56 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.003526, allocations: 31.92 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.003662, allocations: 96.2 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003664, allocations: 1.656 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003666, allocations: 0 / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.00367, allocations: 0 / 0.7895 GB, free: 10.07 MB / 0.7448 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.0004099/0.00408, allocations: 453.4 kB / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.004114, allocations: 8.031 kB / 0.7899 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.004278, allocations: 32.83 kB / 0.7899 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.004425, allocations: 160.2 kB / 0.7901 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.004435, allocations: 4.375 kB / 0.7901 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.004449, allocations: 12.38 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.004589, allocations: 96.8 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.004596, allocations: 3.688 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.004608, allocations: 3.938 kB / 0.7902 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.004615, allocations: 0 / 0.7902 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.138e-05/0.004676, allocations: 35.91 kB / 0.7902 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.00508, allocations: 363.4 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.005237, allocations: 59.11 kB / 0.7906 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.005275, allocations: 27.73 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.005287, allocations: 0.5 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.005306, allocations: 38.02 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.973e-06/0.005308, allocations: 0.6875 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001813/0.005489, allocations: 78.12 kB / 0.7908 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.00552, allocations: 64.55 kB / 0.7908 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.00562, allocations: 199.7 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.005636, allocations: 25.7 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.005692, allocations: 163.2 kB / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.005718, allocations: 15.89 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.005758, allocations: 36.55 kB / 0.7913 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.005866, allocations: 0.4884 MB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.005895, allocations: 11.98 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.00592, allocations: 12.98 kB / 0.7918 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.005974, allocations: 39.75 kB / 0.7918 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005976, allocations: 0 / 0.7918 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.349e-05/0.006069, allocations: 78.56 kB / 0.7919 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.006082, allocations: 4 kB / 0.7919 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.006086, allocations: 4.875 kB / 0.7919 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.006099, allocations: 3.938 kB / 0.7919 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.006151, allocations: 11.98 kB / 0.7919 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.006159, allocations: 5.125 kB / 0.7919 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.174e-05/0.006191, allocations: 7.938 kB / 0.7919 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.006198, allocations: 2.219 kB / 0.7919 GB, free: 7.379 MB / 0.7448 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.212e-05/0.00627, allocations: 164.6 kB / 0.7921 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.00629, allocations: 7.953 kB / 0.7921 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.006314, allocations: 16.78 kB / 0.7921 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.006318, allocations: 7.922 kB / 0.7921 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.006322, allocations: 2.781 kB / 0.7921 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006325, allocations: 4 kB / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.006453, allocations: 156.5 kB / 0.7923 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.006453, allocations: 0 / 0.7923 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.006486, allocations: 12 kB / 0.7923 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.00649, allocations: 3.984 kB / 0.7923 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.006497, allocations: 0 / 0.7923 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.006499, allocations: 5.594 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.006501, allocations: 3.938 kB / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.00663, allocations: 211.9 kB / 0.7925 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.00664, allocations: 7.953 kB / 0.7925 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.006659, allocations: 0.5938 kB / 0.7925 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.019e-05/0.006699, allocations: 4 kB / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.006749, allocations: 24.41 kB / 0.7925 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.006754, allocations: 12.45 kB / 0.7925 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.688e-05/0.006811, allocations: 149.1 kB / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006811, allocations: 0 / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001523/0.006963, allocations: 21.2 kB / 0.7927 GB, free: 6.527 MB / 0.7448 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 7.272e-05/0.007036, allocations: 107.2 kB / 0.7928 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.00715, allocations: 40.42 kB / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.007152, allocations: 0 / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.007187, allocations: 29.45 kB / 0.7929 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.007374, allocations: 8 kB / 0.7929 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.007953, allocations: 234.8 kB / 0.7931 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.007994, allocations: 68.39 kB / 0.7932 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.00803, allocations: 9.875 kB / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.008074, allocations: 16.48 kB / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.008075, allocations: 1.188 kB / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.002826/0.0109, allocations: 1.122 MB / 0.7943 GB, free: 4.859 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.710520394146442]