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.0009174/0.0009174, allocations: 87.58 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.0009266/0.0009266, allocations: 165 kB / 23.82 MB, free: 0.75 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.9119/0.9119, allocations: 177.1 MB / 204.2 MB, free: 5.426 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.798/1.798, allocations: 359 MB / 0.6052 GB, free: 11.01 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.603e-06/1.603e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.994e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001463/0.001483, allocations: 0.9166 MB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000891/0.002374, allocations: 0.9497 MB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.002426, allocations: 0 / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.002464, allocations: 12.66 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.592e-05/0.002549, allocations: 23.73 kB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.00276, allocations: 52.88 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.002874, allocations: 119.6 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.002993, allocations: 38.53 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.003176, allocations: 83.75 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.003253, allocations: 41.33 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.003276, allocations: 12 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.46e-05/0.003321, allocations: 19.98 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.003341, allocations: 30.97 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.003374, allocations: 35.91 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.003515, allocations: 95.64 kB / 0.7895 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.003517, allocations: 4 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003518, allocations: 4 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.003522, 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.0004314/0.003953, allocations: 456 kB / 0.7899 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.003991, allocations: 13.19 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.004152, allocations: 36.83 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.004329, allocations: 151.5 kB / 0.7901 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.004342, allocations: 9.531 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.00436, allocations: 16.31 kB / 0.7901 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.004505, allocations: 92.56 kB / 0.7902 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.004516, allocations: 4.438 kB / 0.7902 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.004528, allocations: 9.719 kB / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.004536, allocations: 0 / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.157e-05/0.004597, allocations: 31.97 kB / 0.7903 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.005244, allocations: 367.4 kB / 0.7906 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.005396, allocations: 60.7 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.005432, allocations: 23.67 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.005451, allocations: 10.19 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.005473, allocations: 37.39 kB / 0.7907 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.005474, allocations: 0 / 0.7907 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001852/0.005659, allocations: 73.8 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.005687, allocations: 55.34 kB / 0.7909 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.005785, allocations: 195.8 kB / 0.791 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.005802, allocations: 30.23 kB / 0.7911 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.005865, allocations: 167.4 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.005885, allocations: 20.05 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.005921, allocations: 31.86 kB / 0.7913 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.006023, allocations: 0.4923 MB / 0.7918 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.006052, allocations: 13.53 kB / 0.7918 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.006122, allocations: 98.39 kB / 0.7919 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.933e-05/0.006172, allocations: 27.69 kB / 0.7919 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006174, allocations: 0 / 0.7919 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.034e-05/0.006264, allocations: 86.14 kB / 0.792 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.006275, allocations: 4 kB / 0.792 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006279, allocations: 0.7812 kB / 0.792 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.006295, allocations: 7.922 kB / 0.792 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.812e-05/0.006343, allocations: 8.594 kB / 0.792 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.006348, allocations: 0.5938 kB / 0.792 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.006383, allocations: 20.61 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.006389, allocations: 3.938 kB / 0.792 GB, free: 7.246 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 6.46e-05/0.006454, allocations: 160.1 kB / 0.7922 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.006474, allocations: 11.95 kB / 0.7922 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.006496, allocations: 12.78 kB / 0.7922 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.006499, allocations: 12.98 kB / 0.7922 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.006502, allocations: 0 / 0.7922 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006505, allocations: 0 / 0.7922 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.00662, allocations: 153.3 kB / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.006621, allocations: 0 / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.006649, allocations: 12.61 kB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.00665, allocations: 0.8438 kB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.006657, allocations: 0 / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.006658, allocations: 0 / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.00666, allocations: 9.875 kB / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.006779, allocations: 215.8 kB / 0.7926 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.006789, allocations: 7.953 kB / 0.7926 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.006809, allocations: 4 kB / 0.7926 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.006855, allocations: 8.672 kB / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.006903, allocations: 19.91 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.006908, allocations: 6.406 kB / 0.7926 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.006958, allocations: 148.5 kB / 0.7928 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006959, allocations: 0 / 0.7928 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001653/0.007124, allocations: 23.89 kB / 0.7928 GB, free: 6.406 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 6.837e-05/0.007192, allocations: 99.25 kB / 0.7929 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.0073, allocations: 49.47 kB / 0.7929 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007301, allocations: 0 / 0.7929 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.007337, allocations: 28.06 kB / 0.793 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.00751, allocations: 11.98 kB / 0.793 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.008051, allocations: 237 kB / 0.7932 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.008086, allocations: 63.34 kB / 0.7933 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.367e-05/0.00812, allocations: 9.078 kB / 0.7933 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.008157, allocations: 17.16 kB / 0.7933 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.008158, allocations: 0.8438 kB / 0.7933 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of Templates: time 0.002616/0.01077, allocations: 1.13 MB / 0.7944 GB, free: 4.738 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: 5.009199908934534]