Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001332/0.001332, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001479/0.001479, allocations: 192.6 kB / 22.17 MB, free: 5.656 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.513/1.513, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.913/0.915, allocations: 168.7 MB / 1.274 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.00297/0.918, allocations: 0.6666 MB / 1.275 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.9201, allocations: 1.166 MB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.9202, allocations: 0 / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/0.9203, allocations: 3.938 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.9204, allocations: 7.922 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.9211, allocations: 148.1 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.9214, allocations: 151.7 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.9215, allocations: 11.98 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.9217, allocations: 55.89 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.9219, allocations: 47.88 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.9219, allocations: 16 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.922, allocations: 27.92 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.9221, allocations: 27.91 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.9222, allocations: 47.89 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.9224, allocations: 134.2 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9225, allocations: 0 / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9225, allocations: 4 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.9225, allocations: 0 / 1.277 GB, free: 1.918 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008457/0.9233, allocations: 424.9 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.9234, allocations: 12.03 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.9234, allocations: 12.89 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.9239, allocations: 204.5 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.924, allocations: 16.3 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.924, allocations: 16.38 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.9242, allocations: 82.19 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.9242, allocations: 3.938 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.9242, allocations: 4 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.9242, allocations: 0 / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.917e-05/0.9243, allocations: 39.97 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007101/0.9251, allocations: 356.6 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.9253, allocations: 82.53 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.9253, allocations: 30.55 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.9253, allocations: 0 / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/0.9257, allocations: 135.3 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.9257, allocations: 7.938 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005183/0.9262, allocations: 201.6 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.9262, allocations: 55.41 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.9264, allocations: 113.8 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.9264, allocations: 29.7 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.9265, allocations: 88.14 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.9265, allocations: 39.72 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.953e-05/0.9266, allocations: 45.7 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9268, allocations: 322.8 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.9269, allocations: 55.91 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.9271, allocations: 86.84 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.9273, allocations: 135.7 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9273, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004031/0.9277, allocations: 215.2 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.9277, allocations: 37.7 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.9277, allocations: 3.938 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.9278, allocations: 4 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.9278, allocations: 11.98 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.9279, allocations: 4.125 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.9281, allocations: 35.92 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.9281, allocations: 8 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001416/0.9282, allocations: 137.7 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.9283, allocations: 7.953 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.9283, allocations: 12.5 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.9283, allocations: 4 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.9283, allocations: 0 / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.9283, allocations: 3.984 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.9288, allocations: 435.5 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.9289, allocations: 3.938 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.9289, allocations: 4 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.9289, allocations: 4 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.9289, allocations: 4 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9289, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.9289, allocations: 7.984 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.9293, allocations: 268.3 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.9293, allocations: 85.06 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.9294, allocations: 7.984 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.9294, allocations: 4 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.9295, allocations: 15.97 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.9295, allocations: 11.94 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.574e-05/0.9296, allocations: 87.27 kB / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9296, allocations: 4 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002965/0.9299, allocations: 32 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002142/0.9301, allocations: 111.8 kB / 1.28 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003756/0.9305, allocations: 175.3 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9305, allocations: 0 / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.9306, allocations: 51.92 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.9309, allocations: 16.23 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.9314, allocations: 210.9 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.9318, allocations: 0.6924 MB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.43e-05/0.9319, allocations: 4.562 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.9319, allocations: 23.42 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.9319, allocations: 0 / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.00607/0.938, allocations: 1.683 MB / 1.283 GB, free: 10.55 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.02592035010457]