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.0009825/0.0009825, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001145/0.001145, allocations: 169.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.9229/0.9229, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.287/2.287, 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.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.543e-06/1.543e-06, allocations: 0 / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.893e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001822/0.001841, allocations: 0.9182 MB / 0.8906 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008297/0.002671, allocations: 0.9365 MB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.002723, allocations: 0 / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.002756, allocations: 19.8 kB / 0.8916 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.00284, allocations: 19.75 kB / 0.8916 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.003011, allocations: 51.88 kB / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.003114, allocations: 127.6 kB / 0.8918 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.003215, allocations: 33.72 kB / 0.8918 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.003369, allocations: 87.73 kB / 0.8919 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.003441, allocations: 43.88 kB / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.003464, allocations: 8 kB / 0.8919 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.16e-05/0.003506, allocations: 16 kB / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.003526, allocations: 31.91 kB / 0.892 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.003553, allocations: 35.92 kB / 0.892 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.00367, allocations: 95.58 kB / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003672, allocations: 0 / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003673, allocations: 0 / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.003676, allocations: 0 / 0.8921 GB, free: 7.355 MB / 0.8542 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.0003667/0.004042, allocations: 452 kB / 0.8925 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.004079, allocations: 12.62 kB / 0.8925 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.004204, allocations: 36.83 kB / 0.8926 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.004316, allocations: 147.1 kB / 0.8927 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.004327, allocations: 8.375 kB / 0.8927 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.004337, allocations: 8.375 kB / 0.8927 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.004449, allocations: 90.84 kB / 0.8928 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004456, allocations: 192 / 0.8928 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.004466, allocations: 11.94 kB / 0.8928 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.004472, allocations: 3.938 kB / 0.8928 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/0.004509, allocations: 19.98 kB / 0.8928 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.004817, allocations: 344 kB / 0.8932 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.004924, allocations: 63.09 kB / 0.8932 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.004948, allocations: 23.67 kB / 0.8933 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.004964, allocations: 4 kB / 0.8933 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.00498, allocations: 33.39 kB / 0.8933 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.004981, allocations: 0 / 0.8933 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001336/0.005114, allocations: 69.8 kB / 0.8934 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.005136, allocations: 51.41 kB / 0.8934 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.005223, allocations: 207.8 kB / 0.8936 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.005237, allocations: 29.7 kB / 0.8936 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.005292, allocations: 166.7 kB / 0.8938 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.005311, allocations: 19.84 kB / 0.8938 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.005343, allocations: 31.3 kB / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.005459, allocations: 0.4962 MB / 0.8943 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.005477, allocations: 8 kB / 0.8943 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.005493, allocations: 7.984 kB / 0.8943 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.005529, allocations: 23.69 kB / 0.8944 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.00553, allocations: 0 / 0.8944 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.133e-05/0.005601, allocations: 73.58 kB / 0.8944 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.005612, allocations: 4 kB / 0.8944 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.005616, allocations: 4 kB / 0.8944 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005627, allocations: 7.984 kB / 0.8944 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.005666, allocations: 11.98 kB / 0.8945 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.00567, allocations: 3.938 kB / 0.8945 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.005698, allocations: 11.89 kB / 0.8945 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.005703, allocations: 3.938 kB / 0.8945 GB, free: 4.711 MB / 0.8542 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 6.446e-05/0.005768, allocations: 164.6 kB / 0.8946 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.005786, allocations: 7.953 kB / 0.8946 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.005812, allocations: 16.78 kB / 0.8947 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005814, allocations: 4 kB / 0.8947 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.005816, allocations: 3.938 kB / 0.8947 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.005819, allocations: 0 / 0.8947 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.904e-05/0.005918, allocations: 125.2 kB / 0.8948 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005919, allocations: 3.938 kB / 0.8948 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.005944, allocations: 11.98 kB / 0.8948 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005945, allocations: 0 / 0.8948 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.005951, allocations: 4 kB / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.005952, allocations: 0 / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005953, allocations: 0 / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.006057, allocations: 223.7 kB / 0.895 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.006068, allocations: 15.95 kB / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.006082, allocations: 0 / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.006123, allocations: 8 kB / 0.895 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.006164, allocations: 15.97 kB / 0.8951 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.006169, allocations: 7.984 kB / 0.8951 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.532e-05/0.006215, allocations: 147.1 kB / 0.8952 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.1e-08/0.006215, allocations: 0 / 0.8952 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001421/0.006357, allocations: 15.94 kB / 0.8952 GB, free: 3.887 MB / 0.8542 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.095e-05/0.006428, allocations: 114.6 kB / 0.8953 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.377e-05/0.006501, allocations: 35.61 kB / 0.8954 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.41e-07/0.006502, allocations: 0 / 0.8954 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.637e-05/0.006529, allocations: 24.06 kB / 0.8954 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.00669, allocations: 9.375 kB / 0.8954 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.007128, allocations: 234.2 kB / 0.8956 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.266e-05/0.007161, allocations: 63.34 kB / 0.8957 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.007191, allocations: 8 kB / 0.8957 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.007246, allocations: 78.19 kB / 0.8958 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.007247, allocations: 0 / 0.8958 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.002448/0.009695, allocations: 1.182 MB / 0.8969 GB, free: 2.105 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.022252211812884]