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.001516/0.001516, allocations: 114.6 kB / 17.08 MB, free: 5.961 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.001573/0.001573, allocations: 191.7 kB / 20.02 MB, free: 3.043 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.485/1.485, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.743/2.743, allocations: 437.1 MB / 0.7177 GB, free: 4.516 MB / 0.5606 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.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.001985/0.001985, allocations: 71.89 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 151.6 MB / 1.176 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002358/0.3379, allocations: 0.6644 MB / 1.177 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.3399, allocations: 1.175 MB / 1.178 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.34, allocations: 0 / 1.178 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.3401, allocations: 3.938 kB / 1.178 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.025e-05/0.3402, allocations: 19.86 kB / 1.178 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.3408, allocations: 139.3 kB / 1.178 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.3411, allocations: 135.7 kB / 1.178 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.3412, allocations: 7.984 kB / 1.178 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.3413, allocations: 55.89 kB / 1.178 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.3415, allocations: 51.86 kB / 1.178 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.3415, allocations: 12 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.599e-05/0.3416, allocations: 27.92 kB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.3417, allocations: 15.98 kB / 1.178 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.3418, allocations: 47.84 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.342, allocations: 119.6 kB / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.342, allocations: 0 / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.342, allocations: 0 / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.342, allocations: 3.938 kB / 1.178 GB, free: 3.422 MB / 0.92 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.0006978/0.3427, allocations: 407.1 kB / 1.179 GB, free: 2.969 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3428, allocations: 12.03 kB / 1.179 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.3428, allocations: 8.891 kB / 1.179 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.343, allocations: 176.3 kB / 1.179 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.343, allocations: 4.375 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3431, allocations: 8.375 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.3433, allocations: 74.14 kB / 1.179 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3433, allocations: 192 / 1.179 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3433, allocations: 3.938 kB / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3433, allocations: 0 / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.3435, allocations: 39.97 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.344, allocations: 324.8 kB / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.3443, allocations: 74.42 kB / 1.179 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.3444, allocations: 40.91 kB / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.3444, allocations: 0 / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.3447, allocations: 107.3 kB / 1.179 GB, free: 1.996 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.3448, allocations: 0 / 1.179 GB, free: 1.996 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005404/0.3453, allocations: 177.5 kB / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.3454, allocations: 59.39 kB / 1.18 GB, free: 1.746 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3455, allocations: 118.2 kB / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.3455, allocations: 25.7 kB / 1.18 GB, free: 1.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.3456, allocations: 96.03 kB / 1.18 GB, free: 1.492 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.3456, allocations: 23.81 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.3457, allocations: 41.7 kB / 1.18 GB, free: 1.422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3459, allocations: 318.8 kB / 1.18 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.346, allocations: 51.97 kB / 1.18 GB, free: 1.051 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3462, allocations: 66.55 kB / 1.18 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.3465, allocations: 132.1 kB / 1.181 GB, free: 0.832 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3465, allocations: 4 kB / 1.181 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004103/0.3469, allocations: 191.2 kB / 1.181 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.347, allocations: 33.7 kB / 1.181 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.347, allocations: 0 / 1.181 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.347, allocations: 7.984 kB / 1.181 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3471, allocations: 8 kB / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3471, allocations: 0 / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.3473, allocations: 40.02 kB / 1.181 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3473, allocations: 4 kB / 1.181 GB, free: 0.5312 MB / 0.92 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.0001121/0.3475, allocations: 125.7 kB / 1.181 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.3475, allocations: 11.94 kB / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.3475, allocations: 12.36 kB / 1.181 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3475, allocations: 0 / 1.181 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3476, allocations: 4 kB / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3476, allocations: 4 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.3481, allocations: 402.4 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3482, allocations: 0 / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.3482, allocations: 7.984 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3482, allocations: 0 / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3482, allocations: 0 / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3482, allocations: 3.938 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3482, allocations: 0 / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.3487, allocations: 251.8 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.3487, allocations: 96.98 kB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3488, allocations: 0 / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.3489, allocations: 0 / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.3489, allocations: 7.984 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3489, allocations: 8 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.931e-05/0.349, allocations: 95.2 kB / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.349, allocations: 4 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000257/0.3493, allocations: 28 kB / 1.182 GB, free: 15.39 MB / 0.9356 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.000185/0.3495, allocations: 107.2 kB / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.3499, allocations: 183.3 kB / 1.182 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3499, allocations: 0 / 1.182 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.35, allocations: 47.98 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3503, allocations: 26.28 kB / 1.182 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.3508, allocations: 200.2 kB / 1.182 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.3511, allocations: 0.6853 MB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.3512, allocations: 11.44 kB / 1.183 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3512, allocations: 0 / 1.183 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of Templates: time 0.003494/0.3547, allocations: 1.377 MB / 1.184 GB, free: 12.69 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.273274249047972]