Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000886/0.000886, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008358/0.0008358, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8216/0.8216, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.707/1.707, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.322e-05, allocations: 2.281 kB / 1.001 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001368/0.001391, allocations: 0.8917 MB / 1.002 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0008521/0.002243, allocations: 0.9327 MB / 1.003 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.002296, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.002331, allocations: 15.8 kB / 1.003 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 8.043e-05/0.002411, allocations: 19.81 kB / 1.003 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.002616, allocations: 43.94 kB / 1.003 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.002736, allocations: 123.6 kB / 1.003 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.002856, allocations: 49.62 kB / 1.003 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.003021, allocations: 87.73 kB / 1.003 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.136e-05/0.003092, allocations: 35.89 kB / 1.003 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.003115, allocations: 12 kB / 1.003 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.003158, allocations: 19.98 kB / 1.003 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.00318, allocations: 31.86 kB / 1.003 GB, free: 9.645 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.003211, allocations: 35.91 kB / 1.003 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.003384, allocations: 163.5 kB / 1.003 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003386, allocations: 3.938 kB / 1.003 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003387, allocations: 0 / 1.003 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.003391, allocations: 4 kB / 1.003 GB, free: 9.441 MB / 0.9167 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.0004442/0.003835, allocations: 353.8 kB / 1.004 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.003873, allocations: 8.031 kB / 1.004 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.004024, allocations: 36.81 kB / 1.004 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.00423, allocations: 158.2 kB / 1.004 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.004242, allocations: 8.375 kB / 1.004 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.004256, allocations: 8.375 kB / 1.004 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.004408, allocations: 106.2 kB / 1.004 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.004419, allocations: 7.922 kB / 1.004 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.004432, allocations: 8 kB / 1.004 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.004436, allocations: 0 / 1.004 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.004548, allocations: 71.89 kB / 1.004 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.00494, allocations: 316.2 kB / 1.004 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.005124, allocations: 78.67 kB / 1.004 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.00518, allocations: 36.83 kB / 1.004 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.005199, allocations: 4 kB / 1.004 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.005216, allocations: 34.56 kB / 1.004 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.005217, allocations: 3.938 kB / 1.004 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002648/0.005482, allocations: 113.8 kB / 1.005 GB, free: 8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.005517, allocations: 67.34 kB / 1.005 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.005598, allocations: 136.5 kB / 1.005 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.005702, allocations: 37.69 kB / 1.005 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.005755, allocations: 108.2 kB / 1.005 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.005777, allocations: 23.83 kB / 1.005 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.005811, allocations: 25.7 kB / 1.005 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.005893, allocations: 326.8 kB / 1.005 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.005946, allocations: 27.98 kB / 1.005 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-05/0.006029, allocations: 109.9 kB / 1.005 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.22e-05/0.006121, allocations: 60.88 kB / 1.005 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006123, allocations: 0 / 1.005 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001282/0.006251, allocations: 113.5 kB / 1.006 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.006265, allocations: 4 kB / 1.006 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.006269, allocations: 3.938 kB / 1.006 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.006284, allocations: 3.938 kB / 1.006 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.585e-05/0.00633, allocations: 15.98 kB / 1.006 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.006335, allocations: 0 / 1.006 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.006374, allocations: 15.98 kB / 1.006 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.006382, allocations: 4 kB / 1.006 GB, free: 6.863 MB / 0.9167 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.613e-05/0.006448, allocations: 121.8 kB / 1.006 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.006463, allocations: 7.953 kB / 1.006 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.006488, allocations: 16.77 kB / 1.006 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.00649, allocations: 3.938 kB / 1.006 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.006495, allocations: 0 / 1.006 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.006498, allocations: 4 kB / 1.006 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.006607, allocations: 141.2 kB / 1.006 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.006611, allocations: 12.27 kB / 1.006 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.006639, allocations: 8 kB / 1.006 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.00664, allocations: 0 / 1.006 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.006648, allocations: 7.922 kB / 1.006 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006649, allocations: 0 / 1.006 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.006651, allocations: 3.938 kB / 1.006 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.006794, allocations: 191.5 kB / 1.006 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.006804, allocations: 11.89 kB / 1.006 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.00682, allocations: 8 kB / 1.006 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.006871, allocations: 15.97 kB / 1.006 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.006922, allocations: 19.91 kB / 1.006 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.006928, allocations: 0 / 1.006 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.776e-05/0.006976, allocations: 113.3 kB / 1.006 GB, free: 6.133 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006976, allocations: 0 / 1.006 GB, free: 6.133 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001486/0.007124, allocations: 19.95 kB / 1.006 GB, free: 6.113 MB / 0.9167 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 7.171e-05/0.007196, allocations: 99.25 kB / 1.006 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.007345, allocations: 75.89 kB / 1.006 GB, free: 5.934 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007347, allocations: 0 / 1.006 GB, free: 5.934 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.708e-05/0.007394, allocations: 31.98 kB / 1.006 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.00758, allocations: 8 kB / 1.006 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.007894, allocations: 238.9 kB / 1.007 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.988e-05/0.007954, allocations: 93.31 kB / 1.007 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.007993, allocations: 20.42 kB / 1.007 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.007993, allocations: 3.938 kB / 1.007 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of Templates: time 0.00196/0.009954, allocations: 1.384 MB / 1.008 GB, free: 4.117 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.369598993100226]