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.001394/0.001394, allocations: 85.86 kB / 20.68 MB, free: 3.812 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.00163/0.00163, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9333/0.9333, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.724/1.724, allocations: 359 MB / 0.6055 GB, free: 10.86 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.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.798e-05, allocations: 3.375 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.004945/0.004973, allocations: 0.9088 MB / 0.7884 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.006327, allocations: 0.9493 MB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.443e-05/0.006412, allocations: 0.5625 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.306e-05/0.006455, allocations: 16.75 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.006572, allocations: 15.8 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.006833, allocations: 53.44 kB / 0.7894 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.007013, allocations: 127.6 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.007149, allocations: 37.69 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.007402, allocations: 79.81 kB / 0.7897 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.007504, allocations: 45.03 kB / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.007533, allocations: 12 kB / 0.7897 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.655e-05/0.007589, allocations: 12.5 kB / 0.7897 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.007618, allocations: 27.91 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.007656, allocations: 32.83 kB / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.00784, allocations: 91.64 kB / 0.7899 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.007843, allocations: 0.9375 kB / 0.7899 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/0.007845, allocations: 0 / 0.7899 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.00785, allocations: 0 / 0.7899 GB, free: 9.781 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.0004874/0.008337, allocations: 449.6 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.00838, allocations: 12.03 kB / 0.7903 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.008571, allocations: 41.42 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.008735, allocations: 145 kB / 0.7905 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.008747, allocations: 7.875 kB / 0.7905 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.008765, allocations: 12.38 kB / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.00892, allocations: 86.91 kB / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.008929, allocations: 192 / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.008942, allocations: 7.938 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.008948, allocations: 3.938 kB / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.178e-05/0.00901, allocations: 26.03 kB / 0.7907 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.009369, allocations: 340.5 kB / 0.791 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.009492, allocations: 63.72 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.009517, allocations: 25.48 kB / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.009532, allocations: 0 / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.009553, allocations: 37.33 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.009554, allocations: 0 / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001367/0.00969, allocations: 74.91 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.009715, allocations: 55.41 kB / 0.7912 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.009799, allocations: 202.4 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.009816, allocations: 33.7 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.009876, allocations: 158.7 kB / 0.7916 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.009893, allocations: 17.28 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.00993, allocations: 35.34 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.01004, allocations: 0.4884 MB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.01007, allocations: 8 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.0101, allocations: 17.52 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.01014, allocations: 27.8 kB / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.01014, allocations: 4 kB / 0.7922 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.856e-05/0.01022, allocations: 73.52 kB / 0.7922 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.01023, allocations: 8.75 kB / 0.7923 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01024, allocations: 0 / 0.7923 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.01025, allocations: 1.844 kB / 0.7923 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.01029, allocations: 8 kB / 0.7923 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.0103, allocations: 12 kB / 0.7923 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.01033, allocations: 11.92 kB / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.01033, allocations: 0.625 kB / 0.7923 GB, free: 7.148 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.857e-05/0.0104, allocations: 169.2 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.01042, allocations: 7.953 kB / 0.7925 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.01044, allocations: 18 kB / 0.7925 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01045, allocations: 3.984 kB / 0.7925 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01045, allocations: 3.938 kB / 0.7925 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01045, allocations: 4.531 kB / 0.7925 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.01056, allocations: 121.2 kB / 0.7926 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01056, allocations: 5.188 kB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.01059, allocations: 7.984 kB / 0.7926 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01059, allocations: 4 kB / 0.7926 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.0106, allocations: 8.938 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.0106, allocations: 0 / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0106, allocations: 1.031 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.01073, allocations: 219.7 kB / 0.7928 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.01074, allocations: 7.953 kB / 0.7928 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.01076, allocations: 0.6875 kB / 0.7928 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.24e-05/0.0108, allocations: 13.05 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.01084, allocations: 11.97 kB / 0.7929 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.01084, allocations: 8 kB / 0.7929 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.818e-05/0.01089, allocations: 144.2 kB / 0.793 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01089, allocations: 0 / 0.793 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001602/0.01105, allocations: 23.89 kB / 0.793 GB, free: 6.336 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.0001018/0.01115, allocations: 100.1 kB / 0.7931 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.06e-05/0.01125, allocations: 41.81 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01125, allocations: 4 kB / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.01128, allocations: 23.67 kB / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.01145, allocations: 11.98 kB / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.01195, allocations: 232.8 kB / 0.7934 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.08e-05/0.01199, allocations: 65.78 kB / 0.7935 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.759e-05/0.01204, allocations: 9.578 kB / 0.7935 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.0121, allocations: 82.2 kB / 0.7936 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.0121, allocations: 0 / 0.7936 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of Templates: time 0.002831/0.01493, allocations: 1.171 MB / 0.7947 GB, free: 4.578 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.894840399269015]