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.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.001512/0.001512, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.00191/0.00191, allocations: 215.3 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.963/2.963, allocations: 476.8 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 66.42 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 169.9 MB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002273/0.3567, allocations: 0.6769 MB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3585, allocations: 1.196 MB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.3586, allocations: 0 / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.932e-05/0.3586, allocations: 3.938 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.606e-05/0.3587, allocations: 19.84 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.3593, allocations: 139.5 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.3596, allocations: 143.7 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3597, allocations: 7.984 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.3599, allocations: 59.89 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.36, allocations: 59.8 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.3601, allocations: 12 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-05/0.3601, allocations: 27.98 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.3602, allocations: 15.98 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.3603, allocations: 55.83 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.3605, allocations: 127.1 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3605, allocations: 8 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3605, allocations: 3.938 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.3605, allocations: 0 / 1.286 GB, free: 9.02 MB / 0.9825 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.0006593/0.3612, allocations: 343.8 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3612, allocations: 8.031 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.3613, allocations: 42.69 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.3613, allocations: 4.938 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.3617, allocations: 158.6 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.3617, allocations: 8.375 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.3618, allocations: 12.38 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.362, allocations: 85.88 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.362, allocations: 7.984 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.362, allocations: 4 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.362, allocations: 0 / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-05/0.3621, allocations: 35.97 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.3628, allocations: 335.7 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.363, allocations: 78.58 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.363, allocations: 32.84 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.363, allocations: 4 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/0.3634, allocations: 127.3 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.3634, allocations: 4 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0004316/0.3638, allocations: 202.6 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.3639, allocations: 55.41 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.364, allocations: 110.1 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.364, allocations: 33.7 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.3641, allocations: 92.09 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.3642, allocations: 35.92 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.3643, allocations: 49.69 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3644, allocations: 322.8 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.3645, allocations: 47.97 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.3647, allocations: 87.95 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.3649, allocations: 150.5 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3649, allocations: 0 / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003957/0.3653, allocations: 210.3 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.3653, allocations: 33.7 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3653, allocations: 0 / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.3654, allocations: 8.125 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.3654, allocations: 15.92 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.3655, allocations: 4.062 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.3657, allocations: 31.97 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.3657, allocations: 8 kB / 1.289 GB, free: 6.043 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.000142/0.3658, allocations: 137.6 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.3659, allocations: 11.95 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.3659, allocations: 16.44 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3659, allocations: 0 / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3659, allocations: 0 / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3659, allocations: 3.984 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.3664, allocations: 409.5 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3664, allocations: 4 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.3664, allocations: 7.938 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3665, allocations: 0 / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3665, allocations: 4 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3665, allocations: 3.984 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3665, allocations: 4 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.3668, allocations: 255.4 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.3668, allocations: 3.953 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.3668, allocations: 11.98 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.3669, allocations: 4 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.3669, allocations: 19.91 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.367, allocations: 11.98 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.838e-05/0.367, allocations: 87.28 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.367, allocations: 0 / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002959/0.3673, allocations: 39.92 kB / 1.29 GB, free: 4.953 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.0006815/0.368, allocations: 0.7998 MB / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.3683, allocations: 175.3 kB / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3683, allocations: 0 / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.3684, allocations: 51.92 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.3687, allocations: 19.3 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.3709, allocations: 1.716 MB / 1.292 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3712, allocations: 0.6924 MB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.843e-05/0.3713, allocations: 12.48 kB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.3713, allocations: 27.42 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3713, allocations: 0 / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.4019, allocations: 2.958 MB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.37, allocations: 0.5 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 420.0] 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/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: 18.35024267807603]