Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001374/0.001374, 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.001757/0.001757, allocations: 214.5 kB / 22.25 MB, free: 5.121 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.649/1.649, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.447/3.447, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_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.002018/0.002018, allocations: 63.45 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4118, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002197/0.414, allocations: 0.6589 MB / 1.354 GB, free: 7.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.4157, allocations: 1.198 MB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.4158, allocations: 0 / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.4158, allocations: 7.938 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.107e-05/0.4159, allocations: 7.938 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.4165, allocations: 156.5 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.4167, allocations: 135.8 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.4168, allocations: 11.98 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.417, allocations: 51.91 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.4171, allocations: 63.78 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.4172, allocations: 12 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.13e-05/0.4172, allocations: 28 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.4173, allocations: 23.91 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.4173, allocations: 51.84 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.4176, allocations: 123.9 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.4176, allocations: 4 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4176, allocations: 0 / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.4176, allocations: 0 / 1.355 GB, free: 5.898 MB / 1.045 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.0006836/0.4183, allocations: 347.8 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4183, allocations: 11.97 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.4184, allocations: 42.73 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.4184, allocations: 16.89 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.4189, allocations: 146.6 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.4189, allocations: 12.36 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.4189, allocations: 16.31 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.4191, allocations: 85.94 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4191, allocations: 4 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4191, allocations: 0 / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4191, allocations: 4 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.4192, allocations: 39.91 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.4199, allocations: 335.7 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.4201, allocations: 78.53 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.4201, allocations: 28.84 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.4202, allocations: 11.98 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.4205, allocations: 119.3 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/0.4205, allocations: 4 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0004405/0.4209, allocations: 197.6 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.4209, allocations: 63.39 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4211, allocations: 113.8 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.4211, allocations: 37.64 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.4212, allocations: 96.23 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.4212, allocations: 27.8 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.4213, allocations: 45.7 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4214, allocations: 326.8 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.4216, allocations: 47.97 kB / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4217, allocations: 88.27 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.4219, allocations: 132.4 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.4219, allocations: 0 / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003775/0.4223, allocations: 215.2 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/0.4223, allocations: 37.69 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4223, allocations: 0 / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.4223, allocations: 4 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.4224, allocations: 15.94 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4224, allocations: 3.938 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.4226, allocations: 39.84 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.4227, allocations: 16.06 kB / 1.358 GB, free: 2.895 MB / 1.045 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.0001191/0.4228, allocations: 130.4 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.4228, allocations: 4 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.4228, allocations: 12.44 kB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4228, allocations: 0 / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4228, allocations: 0 / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4228, allocations: 0 / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.4233, allocations: 413.4 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4233, allocations: 4 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.4233, allocations: 7.984 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4233, allocations: 0 / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4234, allocations: 0 / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.361e-06/0.4234, allocations: 8 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4234, allocations: 0 / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.4237, allocations: 273.6 kB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.4237, allocations: 7.938 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.4237, allocations: 8 kB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.4238, allocations: 7.984 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.4239, allocations: 19.91 kB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.4239, allocations: 8 kB / 1.359 GB, free: 1.934 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.4239, allocations: 87.27 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4239, allocations: 0 / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002888/0.4242, allocations: 35.95 kB / 1.359 GB, free: 1.812 MB / 1.045 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.0007036/0.4249, allocations: 0.7994 MB / 1.36 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.4253, allocations: 174 kB / 1.36 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4253, allocations: 0 / 1.36 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.4254, allocations: 51.91 kB / 1.36 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.4257, allocations: 22.88 kB / 1.36 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.4277, allocations: 1.72 MB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.428, allocations: 0.6924 MB / 1.362 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.4281, allocations: 8.484 kB / 1.362 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.4281, allocations: 19.44 kB / 1.362 GB, free: 14.16 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.4281, allocations: 0 / 1.362 GB, free: 14.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.4578, allocations: 2.951 MB / 1.365 GB, free: 11.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.48, allocations: 10.52 kB / 1.365 GB, free: 11.34 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.836438945960253]