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.001904/0.001904, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.001983/0.001983, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.533/1.533, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 2.843/2.843, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] 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.674e-06/1.674e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.402e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002139/0.002163, allocations: 0.9103 MB / 0.7873 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.003542, allocations: 0.9341 MB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.003601, allocations: 0.8438 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.003638, allocations: 15.8 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.003749, allocations: 20.8 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.003989, allocations: 39.95 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.004168, allocations: 132.5 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.004303, allocations: 37.64 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.004525, allocations: 90.81 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.004618, allocations: 39.88 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.00465, allocations: 12 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.004942, allocations: 16 kB / 0.7886 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.004981, allocations: 27.91 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.005039, allocations: 43.84 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.005301, allocations: 159.5 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005304, allocations: 1.156 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005305, allocations: 0 / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.00531, allocations: 0 / 0.7888 GB, free: 10.37 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.0007512/0.006061, allocations: 464.3 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.006098, allocations: 9.188 kB / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.006342, allocations: 36.83 kB / 0.7893 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.00661, allocations: 157.7 kB / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.006629, allocations: 17.97 kB / 0.7894 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.006648, allocations: 8.375 kB / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.006885, allocations: 98.2 kB / 0.7895 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.006898, allocations: 3.938 kB / 0.7895 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.00691, allocations: 1.531 kB / 0.7895 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.006916, allocations: 4 kB / 0.7895 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.007104, allocations: 69.83 kB / 0.7896 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.007739, allocations: 392.8 kB / 0.79 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.008012, allocations: 83.11 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.008127, allocations: 42.08 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.008146, allocations: 0 / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.00819, allocations: 49.36 kB / 0.7902 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.008191, allocations: 0 / 0.7902 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004605/0.008652, allocations: 102.6 kB / 0.7903 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.008699, allocations: 60 kB / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.008915, allocations: 223.2 kB / 0.7905 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.008941, allocations: 26.2 kB / 0.7905 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.009063, allocations: 166.7 kB / 0.7907 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.009094, allocations: 21.48 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.009165, allocations: 39.36 kB / 0.7908 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002616/0.009426, allocations: 0.4923 MB / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.009514, allocations: 28.61 kB / 0.7913 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.009662, allocations: 114.4 kB / 0.7914 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.009814, allocations: 56.39 kB / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.009816, allocations: 0.5938 kB / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002271/0.01004, allocations: 106.2 kB / 0.7915 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.01006, allocations: 4 kB / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.01006, allocations: 4.688 kB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01007, allocations: 5.312 kB / 0.7916 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.01015, allocations: 11.94 kB / 0.7916 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.01016, allocations: 8.047 kB / 0.7916 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.01023, allocations: 13.06 kB / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.01024, allocations: 0 / 0.7916 GB, free: 7.289 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 0.0001353/0.01038, allocations: 173.2 kB / 0.7917 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.01042, allocations: 15.95 kB / 0.7918 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.01045, allocations: 13.39 kB / 0.7918 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.01046, allocations: 3.938 kB / 0.7918 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01046, allocations: 4.844 kB / 0.7918 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.01047, allocations: 0 / 0.7918 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.01071, allocations: 170.5 kB / 0.7919 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.01071, allocations: 0 / 0.7919 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.202e-05/0.01078, allocations: 11.98 kB / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.01078, allocations: 0 / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.01079, allocations: 0 / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01079, allocations: 7.938 kB / 0.792 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.01079, allocations: 4.625 kB / 0.792 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.0111, allocations: 242.3 kB / 0.7922 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.01112, allocations: 3.953 kB / 0.7922 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.01114, allocations: 8 kB / 0.7922 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.01123, allocations: 4 kB / 0.7922 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.0113, allocations: 23.89 kB / 0.7922 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.01131, allocations: 0 / 0.7922 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000123/0.01143, allocations: 163.3 kB / 0.7924 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01143, allocations: 0 / 0.7924 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002393/0.01167, allocations: 23.89 kB / 0.7924 GB, free: 6.383 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 0.0001431/0.01181, allocations: 107.7 kB / 0.7925 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.01205, allocations: 72.47 kB / 0.7926 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01205, allocations: 5.719 kB / 0.7926 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.01216, allocations: 43.59 kB / 0.7926 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.0124, allocations: 12.17 kB / 0.7926 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.0129, allocations: 231.2 kB / 0.7929 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.013, allocations: 86.81 kB / 0.793 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.401e-05/0.01305, allocations: 11.67 kB / 0.793 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.0131, allocations: 12.5 kB / 0.793 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of SimCode: time 4.2e-07/0.0131, allocations: 0 / 0.793 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of Templates: time 0.004246/0.01735, allocations: 1.122 MB / 0.7941 GB, free: 4.652 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.777241004048847]