Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001352/0.001352, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001561/0.001561, allocations: 219.5 kB / 22.25 MB, free: 5.105 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_12_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.001992/0.001992, allocations: 65.55 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3919, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002518/0.3944, allocations: 0.6404 MB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.3966, allocations: 1.19 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.3967, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.3967, allocations: 3.938 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.6e-05/0.3968, allocations: 7.922 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.3975, allocations: 149.2 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.3978, allocations: 143.7 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3979, allocations: 8 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.398, allocations: 63.83 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.3982, allocations: 51.88 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.3982, allocations: 16 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3983, allocations: 27.97 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.3984, allocations: 19.92 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3985, allocations: 43.91 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.3988, allocations: 135.9 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3988, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3988, allocations: 3.938 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3988, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 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.0009493/0.3998, allocations: 343.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.3998, allocations: 19.97 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.11e-05/0.3999, allocations: 38.73 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/0.4, allocations: 12.94 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.4006, allocations: 158.5 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.4006, allocations: 4.375 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.4007, allocations: 12.36 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.4009, allocations: 85.95 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4009, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.401, allocations: 7.984 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.401, allocations: 4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.4011, allocations: 43.91 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009123/0.4021, allocations: 295.8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.4023, allocations: 86.52 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.4025, allocations: 32.88 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.4025, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004667/0.4029, allocations: 127.3 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 2.305e-06/0.4029, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006591/0.4036, allocations: 205.6 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/0.4037, allocations: 63.33 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.4038, allocations: 109.8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/0.4039, allocations: 33.7 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.404, allocations: 88.09 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.404, allocations: 31.98 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.4042, allocations: 45.7 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.4044, allocations: 322.8 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.4046, allocations: 81.67 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.4049, allocations: 127.5 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.4052, allocations: 135.4 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4052, allocations: 3.938 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006281/0.4058, allocations: 240.9 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.164e-05/0.4059, allocations: 41.69 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4059, allocations: 4.125 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.4059, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.406, allocations: 11.94 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.406, allocations: 4 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.4064, allocations: 35.89 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.4064, allocations: 15.94 kB / 1.331 GB, free: 11.96 MB / 1.029 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.0002241/0.4066, allocations: 122.3 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.4067, allocations: 15.94 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.217e-05/0.4067, allocations: 12.44 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4068, allocations: 4 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4068, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.4068, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007599/0.4075, allocations: 397.5 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4075, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.4076, allocations: 4 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.4076, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.4076, allocations: 7.984 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4076, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4076, allocations: 4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.4081, allocations: 281.8 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.4082, allocations: 7.891 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.4082, allocations: 11.98 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4084, allocations: 7.984 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.4084, allocations: 15.92 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.4084, allocations: 15.97 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.381e-05/0.4085, allocations: 87.27 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4085, allocations: 0 / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005135/0.409, allocations: 32 kB / 1.332 GB, free: 10.87 MB / 1.029 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.001005/0.41, allocations: 0.8111 MB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005106/0.4106, allocations: 205 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4106, allocations: 0 / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.4107, allocations: 55.16 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.4112, allocations: 20.25 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.4144, allocations: 1.828 MB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.555e-05/0.4145, allocations: 75.33 kB / 1.335 GB, free: 7.688 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.343e-05/0.4146, allocations: 4.5 kB / 1.335 GB, free: 7.684 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.4146, allocations: 27.42 kB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of SimCode: time 8.02e-07/0.4146, allocations: 0 / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.4479, allocations: 3.493 MB / 1.338 GB, free: 4.316 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.72, allocations: 11.52 kB / 1.338 GB, free: 4.312 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.47683682499337]