Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.001608/0.001608, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001438/0.001438, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.561/1.561, allocations: 225.6 MB / 249.4 MB, free: 3.129 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.75/2.75, allocations: 443.5 MB / 0.7304 GB, free: 13.96 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.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 71.89 kB / 1.059 GB, free: 312 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3592, allocations: 160.7 MB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002107/0.3613, allocations: 0.6597 MB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.3631, allocations: 1.188 MB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.3631, allocations: 4 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.3632, allocations: 7.938 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.525e-05/0.3632, allocations: 3.938 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.3638, allocations: 155 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000237/0.364, allocations: 123.8 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.3641, allocations: 4 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3642, allocations: 55.88 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.3644, allocations: 55.81 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.3644, allocations: 12 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.393e-05/0.3645, allocations: 27.98 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3645, allocations: 15.97 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.3646, allocations: 43.84 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.3648, allocations: 119.6 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3648, allocations: 4 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3648, allocations: 3.938 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3648, allocations: 0 / 1.219 GB, free: 12.79 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007106/0.3655, allocations: 401 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3655, allocations: 8.031 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.3656, allocations: 12.89 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3657, allocations: 176.3 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.3658, allocations: 8.375 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.3658, allocations: 4.375 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.366, allocations: 78.14 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.366, allocations: 192 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3661, allocations: 3.938 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3661, allocations: 4 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.3662, allocations: 39.91 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.3668, allocations: 328.8 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.367, allocations: 62.48 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3671, allocations: 32.91 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.3671, allocations: 4 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.3674, allocations: 107.3 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3674, allocations: 0 / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005481/0.3679, allocations: 185.5 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.368, allocations: 51.41 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3681, allocations: 118.2 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.3681, allocations: 33.7 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.3682, allocations: 88.09 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.3682, allocations: 27.81 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.3683, allocations: 37.7 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3685, allocations: 322.8 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3686, allocations: 47.97 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3688, allocations: 70.48 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.369, allocations: 128.2 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.369, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004171/0.3694, allocations: 199.2 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.3695, allocations: 41.69 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3695, allocations: 3.938 kB / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3695, allocations: 0 / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3696, allocations: 12.06 kB / 1.221 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3696, allocations: 4 kB / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.3698, allocations: 27.95 kB / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.3698, allocations: 12 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001146/0.3699, allocations: 121.8 kB / 1.221 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.3699, allocations: 7.938 kB / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.37, allocations: 12.38 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.37, allocations: 4 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.37, allocations: 0 / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.37, allocations: 0 / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.3705, allocations: 402.4 kB / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3705, allocations: 0 / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.3706, allocations: 7.984 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3706, allocations: 0 / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3706, allocations: 4 kB / 1.222 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3706, allocations: 0 / 1.222 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3706, allocations: 0 / 1.222 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.371, allocations: 251.8 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.371, allocations: 88.98 kB / 1.222 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.3711, allocations: 7.984 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.3712, allocations: 4 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.3712, allocations: 7.984 kB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.3712, allocations: 4 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.229e-05/0.3713, allocations: 103.1 kB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3713, allocations: 0 / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002647/0.3715, allocations: 24 kB / 1.222 GB, free: 8.762 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: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001945/0.3717, allocations: 107.2 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.3721, allocations: 171.2 kB / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3721, allocations: 0 / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.3723, allocations: 43.97 kB / 1.222 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3726, allocations: 24.09 kB / 1.222 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.373, allocations: 195.1 kB / 1.223 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3733, allocations: 0.6846 MB / 1.223 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.3734, allocations: 8.656 kB / 1.223 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.3734, allocations: 11.44 kB / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3734, allocations: 4 kB / 1.223 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of Templates: time 0.004985/0.3784, allocations: 1.687 MB / 1.225 GB, free: 5.781 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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: 8.662055010907352]