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.001732/0.001732, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002319/0.002319, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.789 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.23/3.23, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 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.00213/0.00213, allocations: 71.09 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3455, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002055/0.3476, allocations: 0.6465 MB / 1.326 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.3493, allocations: 1.186 MB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.3494, allocations: 0 / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.3494, allocations: 7.938 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.285e-05/0.3495, allocations: 11.86 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.35, allocations: 152.7 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.3502, allocations: 139.8 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.3503, allocations: 11.98 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.3504, allocations: 59.89 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3505, allocations: 43.86 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.3506, allocations: 16 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.126e-05/0.3506, allocations: 31.92 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.3507, allocations: 19.98 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.3508, allocations: 43.89 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.351, allocations: 135.8 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.351, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.844e-06/0.351, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.351, allocations: 0 / 1.328 GB, free: 15.88 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.0006237/0.3516, allocations: 347.8 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3516, allocations: 8.031 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.3517, allocations: 34.73 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.3517, allocations: 16.94 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.3521, allocations: 150.6 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3522, allocations: 8.359 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.3522, allocations: 8.375 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3524, allocations: 93.88 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3524, allocations: 0 / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3524, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3524, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.3525, allocations: 39.97 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.3531, allocations: 315.7 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3533, allocations: 78.55 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.3534, allocations: 32.78 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.3534, allocations: 3.938 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.3537, allocations: 131.2 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3537, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0004107/0.3541, allocations: 209.6 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.3542, allocations: 55.41 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3543, allocations: 109.8 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.3543, allocations: 33.7 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.3544, allocations: 96.08 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.3544, allocations: 28 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.413e-05/0.3545, allocations: 45.69 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3546, allocations: 322.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.3548, allocations: 81.67 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3549, allocations: 121.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.3551, allocations: 145.2 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3551, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003735/0.3555, allocations: 240.9 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.3555, allocations: 33.7 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3555, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3556, allocations: 4 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.3556, allocations: 24.05 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3556, allocations: 0 / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3558, allocations: 31.91 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.3559, allocations: 12 kB / 1.33 GB, free: 12.8 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.0001296/0.356, allocations: 130.2 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.356, allocations: 7.953 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.3561, allocations: 16.44 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3561, allocations: 4 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3561, allocations: 0 / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3561, allocations: 7.922 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.3565, allocations: 393.5 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3565, allocations: 4 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.3566, allocations: 7.922 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3566, allocations: 4 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3566, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3566, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3566, allocations: 4 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.3569, allocations: 271.4 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.3569, allocations: 19.88 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.357, allocations: 4 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.357, allocations: 7.984 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.3571, allocations: 19.91 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.3571, allocations: 15.94 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.671e-05/0.3572, allocations: 91.2 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3572, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002788/0.3574, allocations: 32 kB / 1.331 GB, free: 11.7 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.0007346/0.3582, allocations: 0.809 MB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003465/0.3585, allocations: 204.9 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3585, allocations: 0 / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3586, allocations: 49.36 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3589, allocations: 19.92 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.361, allocations: 1.831 MB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.3611, allocations: 79.58 kB / 1.334 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.527e-05/0.3611, allocations: 8.484 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.3612, allocations: 23.44 kB / 1.334 GB, free: 8.492 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3612, allocations: 3.938 kB / 1.334 GB, free: 8.488 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.3939, allocations: 3.454 MB / 1.338 GB, free: 5.195 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.7, allocations: 7.422 kB / 1.338 GB, free: 5.191 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.65298954071477]