Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.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.001478/0.001478, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001506/0.001506, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.631/1.631, allocations: 225.6 MB / 249.4 MB, free: 3.297 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.877/2.877, allocations: 443.4 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 63.89 kB / 1.059 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4095, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.002799/0.4123, allocations: 0.742 MB / 1.217 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.4145, allocations: 1.203 MB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.4146, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.281e-05/0.4147, allocations: 3.938 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.4148, allocations: 7.938 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.4155, allocations: 157.8 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.4158, allocations: 119.7 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.4159, allocations: 8 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.416, allocations: 47.89 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.4162, allocations: 43.88 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.4162, allocations: 12 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.119e-05/0.4163, allocations: 23.98 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.4163, allocations: 15.92 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.935e-05/0.4164, allocations: 35.91 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.4167, allocations: 107.6 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4167, allocations: 4 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4167, allocations: 0 / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.4167, allocations: 0 / 1.219 GB, free: 12.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008539/0.4175, allocations: 412.9 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.4176, allocations: 8.031 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.4177, allocations: 12.89 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.4179, allocations: 172.3 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.4179, allocations: 4.375 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.418, allocations: 12.38 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.4182, allocations: 62.22 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.4182, allocations: 192 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.4183, allocations: 11.94 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.4183, allocations: 3.938 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.4185, allocations: 39.95 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007576/0.4192, allocations: 332.6 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.4194, allocations: 46.55 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.4195, allocations: 28.92 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.4196, allocations: 7.938 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.4199, allocations: 95.36 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.4199, allocations: 0 / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0005028/0.4204, allocations: 129.6 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.4205, allocations: 55.41 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.4206, allocations: 113.8 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4206, allocations: 25.7 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.4207, allocations: 100.1 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.4207, allocations: 19.91 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.4208, allocations: 29.7 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.421, allocations: 326.8 kB / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.4211, allocations: 47.91 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.4213, allocations: 79.39 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.4216, allocations: 129 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4216, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004845/0.4221, allocations: 203.2 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/0.4221, allocations: 41.69 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4221, allocations: 320 / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.4221, allocations: 4 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4223, allocations: 11.98 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.4223, allocations: 3.938 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.4225, allocations: 35.95 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.4225, allocations: 7.984 kB / 1.221 GB, free: 10 MB / 0.9669 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 0.0001258/0.4226, allocations: 129.7 kB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.4226, allocations: 7.953 kB / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.423, allocations: 114.5 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.423, allocations: 96 / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.423, allocations: 4 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.423, allocations: 3.984 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.4235, allocations: 366.4 kB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4235, allocations: 3.938 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.4236, allocations: 11.98 kB / 1.222 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.4236, allocations: 3.938 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.4236, allocations: 0 / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4236, allocations: 4 kB / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4236, allocations: 0 / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.424, allocations: 211.3 kB / 1.222 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.424, allocations: 81.06 kB / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.424, allocations: 7.984 kB / 1.222 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.4241, allocations: 4 kB / 1.222 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.4242, allocations: 11.92 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.4242, allocations: 4 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.699e-05/0.4243, allocations: 87.27 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4243, allocations: 4 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002737/0.4245, allocations: 24 kB / 1.222 GB, free: 8.832 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: 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 0.0002022/0.4247, allocations: 99.25 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.4251, allocations: 159.2 kB / 1.222 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4251, allocations: 0 / 1.222 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.4253, allocations: 36.03 kB / 1.222 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.4256, allocations: 19.98 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.4261, allocations: 166.4 kB / 1.223 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.4264, allocations: 0.6884 MB / 1.223 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.4265, allocations: 3.984 kB / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.4265, allocations: 19.44 kB / 1.223 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of SimCode: time 1.132e-06/0.4265, allocations: 288 / 1.223 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of Templates: time 0.005383/0.4319, allocations: 1.418 MB / 1.225 GB, free: 6.172 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.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: 9.192993025295436]