Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0007841/0.0007841, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002142, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007602/0.0007602, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009948/0.001755, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9913/0.9913, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09429/1.086, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.375/2.375, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2277/2.603, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.943e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001435/0.001454, allocations: 0.7819 MB / 0.8197 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.002472, allocations: 1.252 MB / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.002506, allocations: 0 / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.002527, allocations: 3.938 kB / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.455e-05/0.002561, allocations: 15.86 kB / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.002827, allocations: 139.5 kB / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.002954, allocations: 119.8 kB / 0.8212 GB, free: 192 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.471e-05/0.003019, allocations: 8 kB / 0.8212 GB, free: 184 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.809e-05/0.003117, allocations: 67.88 kB / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.003187, allocations: 47.92 kB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.003205, allocations: 8 kB / 0.8213 GB, free: 60 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.035e-05/0.003275, allocations: 31.88 kB / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.003297, allocations: 11.98 kB / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.003342, allocations: 27.98 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.003462, allocations: 79.75 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.003471, allocations: 0 / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003471, allocations: 3.938 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.003479, allocations: 0 / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004075/0.003887, allocations: 314.1 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.003914, allocations: 12.03 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.004021, allocations: 93.97 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.578e-05/0.004087, allocations: 113.7 kB / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.004097, allocations: 8.375 kB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.004113, allocations: 8.375 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.046e-05/0.004204, allocations: 66.92 kB / 0.822 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.00421, allocations: 4.125 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.004216, allocations: 384 / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.00422, allocations: 384 / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.004243, allocations: 11.94 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.004472, allocations: 184.2 kB / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.415e-05/0.004527, allocations: 30.56 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.324e-05/0.00454, allocations: 12.8 kB / 0.8223 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.004552, allocations: 0 / 0.8223 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.659e-05/0.004629, allocations: 71.52 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.00463, allocations: 4 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001118/0.004742, allocations: 65.61 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.004767, allocations: 55.34 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.643e-05/0.004823, allocations: 122.7 kB / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.004838, allocations: 29.7 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.004873, allocations: 92.08 kB / 0.8227 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.004888, allocations: 19.89 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.00493, allocations: 33.69 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.004996, allocations: 322.8 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.364e-05/0.00504, allocations: 49.69 kB / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-05/0.005089, allocations: 85.09 kB / 0.8232 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.581e-05/0.005155, allocations: 85.05 kB / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005157, allocations: 0 / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001225/0.005279, allocations: 184.8 kB / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.005308, allocations: 37.64 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.005312, allocations: 0 / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.005321, allocations: 4 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.005379, allocations: 11.98 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.005383, allocations: 4 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.005451, allocations: 19.98 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.005463, allocations: 7.984 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 5.502e-05/0.005518, allocations: 129.8 kB / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.005526, allocations: 4 kB / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.005594, allocations: 65.98 kB / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.005596, allocations: 0 / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.005598, allocations: 7.984 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005601, allocations: 0 / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.005723, allocations: 198.8 kB / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005724, allocations: 7.938 kB / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.00575, allocations: 7.984 kB / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.005763, allocations: 11.89 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.005764, allocations: 4 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.005769, allocations: 4 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.00577, allocations: 0 / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005771, allocations: 0 / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.226e-05/0.005843, allocations: 147.5 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.005855, allocations: 3.938 kB / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.005888, allocations: 4 kB / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.005913, allocations: 7.984 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.005917, allocations: 4 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.56e-05/0.005932, allocations: 20.77 kB / 0.8241 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005932, allocations: 0 / 0.8241 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001359/0.006068, allocations: 28 kB / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.583e-05/0.006154, allocations: 84.41 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.006282, allocations: 141.9 kB / 0.8243 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.006287, allocations: 4 kB / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.006318, allocations: 24.83 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.006467, allocations: 101.8 kB / 0.8245 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.007054, allocations: 168.6 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.094e-05/0.007085, allocations: 61.47 kB / 0.8247 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.988e-05/0.007105, allocations: 7.938 kB / 0.8247 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.007174, allocations: 67.34 kB / 0.8248 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.007175, allocations: 4 kB / 0.8248 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of Templates: time 0.002705/0.009879, allocations: 1.619 MB / 0.8263 GB, free: 10.5 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1064009396359324]