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.001985/0.001985, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00256/0.00256, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.449/1.449, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.697/2.697, allocations: 359 MB / 0.6048 GB, free: 10.95 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.914e-06/1.914e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.847e-05, allocations: 3.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.003465/0.003493, allocations: 0.8974 MB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.005742, allocations: 0.9231 MB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.005831, allocations: 5.156 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.837e-05/0.005899, allocations: 15.8 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.006039, allocations: 11.81 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.00636, allocations: 52.53 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.006645, allocations: 128.2 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.006886, allocations: 38.48 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.00719, allocations: 83.8 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.007347, allocations: 45.31 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.007395, allocations: 12 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.018e-05/0.007465, allocations: 16 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.007518, allocations: 27.92 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.865e-05/0.007607, allocations: 43.12 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.008, allocations: 167.5 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.008003, allocations: 0 / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.008003, allocations: 0 / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.008009, allocations: 0 / 0.7888 GB, free: 10.36 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.0009992/0.009008, allocations: 349.8 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.009058, allocations: 12.03 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004441/0.009502, allocations: 41.75 kB / 0.7892 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.009975, allocations: 158.8 kB / 0.7893 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.01, allocations: 9.75 kB / 0.7893 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.01004, allocations: 12.38 kB / 0.7893 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.01045, allocations: 102.2 kB / 0.7894 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.01047, allocations: 5.25 kB / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.01049, allocations: 0 / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.0105, allocations: 4 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.01089, allocations: 73.39 kB / 0.7895 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009525/0.01185, allocations: 317.7 kB / 0.7898 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.01233, allocations: 70.67 kB / 0.7899 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.01253, allocations: 46.33 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.01256, allocations: 3.938 kB / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.01261, allocations: 38.5 kB / 0.79 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.01261, allocations: 0.5625 kB / 0.79 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0007249/0.01334, allocations: 124 kB / 0.7901 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.01341, allocations: 59.34 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.01364, allocations: 139.7 kB / 0.7903 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.01369, allocations: 33.69 kB / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.01382, allocations: 108.6 kB / 0.7904 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.01388, allocations: 23.98 kB / 0.7904 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.01399, allocations: 30.42 kB / 0.7905 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002676/0.01425, allocations: 322.8 kB / 0.7908 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.01443, allocations: 29.45 kB / 0.7908 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.01471, allocations: 109.9 kB / 0.7909 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.01504, allocations: 50.47 kB / 0.7909 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01505, allocations: 4 kB / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004862/0.01553, allocations: 114.2 kB / 0.7911 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.01555, allocations: 8 kB / 0.7911 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01556, allocations: 0.625 kB / 0.7911 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.01559, allocations: 4.438 kB / 0.7911 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.01573, allocations: 13.02 kB / 0.7911 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.01574, allocations: 4.062 kB / 0.7911 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.01593, allocations: 16.89 kB / 0.7911 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.01594, allocations: 0 / 0.7911 GB, free: 7.801 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.0001886/0.01613, allocations: 130.6 kB / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.0162, allocations: 7.953 kB / 0.7912 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.01625, allocations: 18.92 kB / 0.7913 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.01626, allocations: 3.938 kB / 0.7913 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01626, allocations: 0 / 0.7913 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.01627, allocations: 4 kB / 0.7913 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.01662, allocations: 145.2 kB / 0.7914 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.01662, allocations: 3.984 kB / 0.7914 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.01677, allocations: 10.62 kB / 0.7914 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.01678, allocations: 4 kB / 0.7914 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.0168, allocations: 7.984 kB / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01681, allocations: 0 / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.01681, allocations: 3.938 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/0.01734, allocations: 197 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.01737, allocations: 7.953 kB / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.01741, allocations: 4 kB / 0.7916 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.01763, allocations: 7.984 kB / 0.7916 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.01775, allocations: 24.39 kB / 0.7917 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.01777, allocations: 4.562 kB / 0.7917 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001573/0.01792, allocations: 113.1 kB / 0.7918 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.01792, allocations: 1.625 kB / 0.7918 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004671/0.01839, allocations: 19.95 kB / 0.7918 GB, free: 7.055 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.000327/0.01872, allocations: 100 kB / 0.7919 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004446/0.01916, allocations: 72.45 kB / 0.792 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01916, allocations: 1.094 kB / 0.792 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.01936, allocations: 27.98 kB / 0.792 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.01987, allocations: 12.64 kB / 0.792 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.02065, allocations: 221.3 kB / 0.7922 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.02081, allocations: 97.77 kB / 0.7923 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.542e-05/0.0209, allocations: 4 kB / 0.7923 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.029e-05/0.02099, allocations: 20.48 kB / 0.7923 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.02099, allocations: 0 / 0.7923 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of Templates: time 0.006583/0.02758, allocations: 1.121 MB / 0.7934 GB, free: 5.359 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] 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.496125688892789]