Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 117.8 kB / 17.13 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 193.2 kB / 20.07 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 68.06 kB / 1.057 GB, free: 2.043 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 160.8 MB / 1.214 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002218/0.3309, allocations: 0.869 MB / 1.215 GB, free: 124 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.332, allocations: 0.8787 MB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.3321, allocations: 4 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.871e-05/0.3321, allocations: 11.86 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.3322, allocations: 15.81 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.3325, allocations: 35.89 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.3326, allocations: 111.7 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3328, allocations: 33.09 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3329, allocations: 51.78 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3331, allocations: 51.75 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.3331, allocations: 12 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.267e-05/0.3331, allocations: 12 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.3331, allocations: 19.92 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.3332, allocations: 47.73 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.3334, allocations: 127.4 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3334, allocations: 0 / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3334, allocations: 0 / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3334, allocations: 0 / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001028/0.3345, allocations: 466.9 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3345, allocations: 8.031 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.3345, allocations: 20.83 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.3347, allocations: 198.2 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.3348, allocations: 8.312 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.3348, allocations: 12.38 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.335, allocations: 92.88 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.335, allocations: 8.125 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.335, allocations: 3.938 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3351, allocations: 4 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.3353, allocations: 67.91 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.3361, allocations: 396.5 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3363, allocations: 62.48 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.3364, allocations: 28.97 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.3364, allocations: 8 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3364, allocations: 30.56 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3364, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0004493/0.3369, allocations: 109.5 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3369, allocations: 59.39 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3371, allocations: 154.3 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.3371, allocations: 29.7 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.3372, allocations: 112 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.3372, allocations: 20.03 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.3372, allocations: 17.72 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3374, allocations: 322.8 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.3375, allocations: 27.97 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.3376, allocations: 27.98 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3377, allocations: 48.83 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3377, allocations: 4 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002207/0.3379, allocations: 97.7 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3379, allocations: 8 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3379, allocations: 80 / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.338, allocations: 0 / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.566e-05/0.3381, allocations: 7.984 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.3381, allocations: 11.92 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.3382, allocations: 35.86 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3383, allocations: 4 kB / 1.219 GB, free: 12.02 MB / 0.9669 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 (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 prepare postOptimizeDAE: time 0.0001033/0.3384, allocations: 113.8 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.3384, allocations: 7.953 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.3384, allocations: 16.31 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.3384, allocations: 7.984 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.3384, allocations: 3.938 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.3384, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.3387, allocations: 197.6 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3387, allocations: 0 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.3387, allocations: 4 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3387, allocations: 3.938 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3387, allocations: 12.23 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3388, allocations: 4 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3388, allocations: 7.875 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.339, allocations: 179.5 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.3391, allocations: 97 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3391, allocations: 0 / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.3393, allocations: 27.97 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.3394, allocations: 15.92 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3394, allocations: 4 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.446e-05/0.3395, allocations: 118.9 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3395, allocations: 3.938 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002336/0.3397, allocations: 15.94 kB / 1.219 GB, free: 11.11 MB / 0.9669 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 (5): * Single equations (assignments): 5 * 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.0001503/0.3399, allocations: 103.2 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.3401, allocations: 67.91 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.3401, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3402, allocations: 31.98 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3405, allocations: 8 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.341, allocations: 237.1 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.3414, allocations: 0.7002 MB / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.3414, allocations: 15.44 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3414, allocations: 0 / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of Templates: time 0.003068/0.3445, allocations: 1.303 MB / 1.222 GB, free: 8.586 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.385223845019937]