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.001504/0.001504, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001822/0.001822, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.543/1.543, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.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.746/2.746, allocations: 476.7 MB / 0.7611 GB, free: 15.68 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 1.104 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 168.7 MB / 1.269 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0021/1.103, allocations: 0.6623 MB / 1.269 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001864/1.105, allocations: 1.167 MB / 1.271 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/1.105, allocations: 0.8438 kB / 1.271 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/1.105, allocations: 4.969 kB / 1.271 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/1.105, allocations: 15.14 kB / 1.271 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007027/1.106, allocations: 139.4 kB / 1.271 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002757/1.106, allocations: 149.6 kB / 1.271 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/1.107, allocations: 9.406 kB / 1.271 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/1.107, allocations: 58.19 kB / 1.271 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/1.107, allocations: 52.28 kB / 1.271 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/1.107, allocations: 16.53 kB / 1.271 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/1.107, allocations: 23.62 kB / 1.271 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/1.107, allocations: 24.91 kB / 1.271 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.142e-05/1.107, allocations: 55.58 kB / 1.271 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/1.107, allocations: 130.7 kB / 1.271 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.107, allocations: 4.812 kB / 1.271 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.445e-06/1.107, allocations: 0 / 1.271 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.259e-05/1.107, allocations: 0 / 1.271 GB, free: 6.152 MB / 0.9981 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.0006922/1.108, allocations: 423.1 kB / 1.272 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/1.108, allocations: 13.91 kB / 1.272 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/1.108, allocations: 34.78 kB / 1.272 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/1.108, allocations: 12.22 kB / 1.272 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/1.109, allocations: 208.8 kB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/1.109, allocations: 9.312 kB / 1.272 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/1.109, allocations: 15.8 kB / 1.272 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/1.109, allocations: 88.27 kB / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.109, allocations: 0 / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/1.109, allocations: 14.72 kB / 1.272 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.109, allocations: 1.375 kB / 1.272 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/1.109, allocations: 36.55 kB / 1.272 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/1.11, allocations: 351.7 kB / 1.272 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/1.11, allocations: 84.97 kB / 1.272 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/1.11, allocations: 39.02 kB / 1.272 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/1.11, allocations: 0.8438 kB / 1.272 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003995/1.11, allocations: 127.7 kB / 1.273 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/1.11, allocations: 0.9062 kB / 1.273 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0004602/1.111, allocations: 200.9 kB / 1.273 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/1.111, allocations: 55.28 kB / 1.273 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/1.111, allocations: 124.3 kB / 1.273 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/1.111, allocations: 33.52 kB / 1.273 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/1.111, allocations: 89.09 kB / 1.273 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/1.111, allocations: 34.45 kB / 1.273 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.715e-05/1.111, allocations: 47.33 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.903e-05/1.111, allocations: 324.1 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/1.112, allocations: 50.98 kB / 1.274 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/1.112, allocations: 84.55 kB / 1.274 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/1.112, allocations: 139.4 kB / 1.274 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.112, allocations: 0.8125 kB / 1.274 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00035/1.112, allocations: 215.1 kB / 1.274 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/1.112, allocations: 34.12 kB / 1.274 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/1.112, allocations: 2.125 kB / 1.274 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.112, allocations: 2.031 kB / 1.274 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/1.112, allocations: 12.75 kB / 1.274 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/1.112, allocations: 5.734 kB / 1.274 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/1.113, allocations: 37.16 kB / 1.274 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/1.113, allocations: 17.42 kB / 1.274 GB, free: 3.848 MB / 0.9981 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.0001114/1.113, allocations: 136.7 kB / 1.274 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/1.113, allocations: 10.55 kB / 1.274 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/1.113, allocations: 9.438 kB / 1.274 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.113, allocations: 2.359 kB / 1.274 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.113, allocations: 0 / 1.274 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.113, allocations: 2.547 kB / 1.274 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/1.113, allocations: 435.1 kB / 1.275 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.113, allocations: 0.75 kB / 1.275 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/1.113, allocations: 9.438 kB / 1.275 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/1.113, allocations: 0.6562 kB / 1.275 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/1.113, allocations: 4.906 kB / 1.275 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.113, allocations: 0.5625 kB / 1.275 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.113, allocations: 0 / 1.275 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/1.114, allocations: 265.3 kB / 1.275 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/1.114, allocations: 92.03 kB / 1.275 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/1.114, allocations: 10.72 kB / 1.275 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/1.114, allocations: 3.562 kB / 1.275 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/1.114, allocations: 19.97 kB / 1.275 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/1.114, allocations: 8.203 kB / 1.275 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.26e-05/1.114, allocations: 85.7 kB / 1.275 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.114, allocations: 0.8125 kB / 1.275 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000283/1.114, allocations: 32.27 kB / 1.275 GB, free: 2.961 MB / 0.9981 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.0005551/1.115, allocations: 0.8125 MB / 1.276 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003353/1.115, allocations: 175.1 kB / 1.276 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.115, allocations: 0 / 1.276 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/1.115, allocations: 46.94 kB / 1.276 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/1.115, allocations: 23.94 kB / 1.276 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/1.117, allocations: 1.708 MB / 1.278 GB, free: 16.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/1.118, allocations: 0.6938 MB / 1.278 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.085e-05/1.118, allocations: 10.02 kB / 1.278 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/1.118, allocations: 23.41 kB / 1.279 GB, free: 15.97 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.118, allocations: 0 / 1.279 GB, free: 15.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/1.144, allocations: 2.799 MB / 1.281 GB, free: 15.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/9.333, allocations: 3.781 kB / 1.281 GB, free: 15.52 MB / 1.014 GB " [Timeout remaining time 291] (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_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: 15.575275115668774]