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.001404/0.001404, 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.001606/0.001606, allocations: 210.5 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.793 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.248/3.248, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002188/0.002188, allocations: 64.33 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3515, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002061/0.3536, allocations: 0.6605 MB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.3555, allocations: 1.183 MB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.3556, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.3556, allocations: 3.938 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.3557, allocations: 3.938 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.3563, allocations: 154.1 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.3566, allocations: 139.8 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.3567, allocations: 7.938 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3568, allocations: 63.89 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3569, allocations: 47.8 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.3569, allocations: 16 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.201e-05/0.357, allocations: 19.98 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.357, allocations: 23.98 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.279e-05/0.3571, allocations: 47.89 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3574, allocations: 131.9 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3574, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3574, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3574, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 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.000713/0.3581, allocations: 347.8 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3582, allocations: 8.031 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.3582, allocations: 30.75 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.3583, allocations: 16.88 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.3587, allocations: 154.6 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.3587, allocations: 8.375 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.3588, allocations: 12.36 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3589, allocations: 85.89 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3589, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.359, allocations: 11.98 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.359, allocations: 3.984 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3591, allocations: 39.91 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.3597, allocations: 307.7 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3599, allocations: 86.56 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/0.36, allocations: 33.84 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.36, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.3603, allocations: 123.3 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3603, allocations: 4 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0004357/0.3607, allocations: 200.3 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.3608, allocations: 63.33 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3609, allocations: 117.8 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.3609, allocations: 33.7 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.361, allocations: 88.3 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.361, allocations: 31.78 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3611, allocations: 45.7 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3613, allocations: 326.8 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3614, allocations: 77.67 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.3616, allocations: 118 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.3618, allocations: 133.9 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3618, allocations: 0 / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004174/0.3623, allocations: 244.9 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.3623, allocations: 37.69 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3623, allocations: 0 / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3623, allocations: 4 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.3624, allocations: 7.938 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3624, allocations: 4 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.3626, allocations: 47.97 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.3627, allocations: 8 kB / 1.369 GB, free: 8.543 MB / 1.061 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.0001362/0.3628, allocations: 125.8 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.3628, allocations: 11.94 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.3629, allocations: 16.44 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3629, allocations: 3.938 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3629, allocations: 0 / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3629, allocations: 4 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.3634, allocations: 400.5 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3634, allocations: 3.938 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.3634, allocations: 8 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3634, allocations: 4 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3634, allocations: 3.984 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3634, allocations: 0 / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3634, allocations: 0 / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.3637, allocations: 279.3 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.3638, allocations: 7.891 kB / 1.369 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.3638, allocations: 7.984 kB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.3639, allocations: 11.98 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.3639, allocations: 15.92 kB / 1.369 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3639, allocations: 15.98 kB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.312e-05/0.364, allocations: 83.58 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.364, allocations: 0 / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002819/0.3643, allocations: 35.98 kB / 1.37 GB, free: 7.449 MB / 1.061 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.0007998/0.3651, allocations: 0.8061 MB / 1.37 GB, free: 6.617 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003972/0.3655, allocations: 205.2 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3655, allocations: 0 / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.3656, allocations: 58.41 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3659, allocations: 15.92 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.3682, allocations: 1.844 MB / 1.372 GB, free: 4.352 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.934e-05/0.3683, allocations: 71.33 kB / 1.372 GB, free: 4.262 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.126e-05/0.3683, allocations: 16.5 kB / 1.372 GB, free: 4.246 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.3684, allocations: 23.42 kB / 1.373 GB, free: 4.223 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.3684, allocations: 0 / 1.373 GB, free: 4.223 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.3996, allocations: 3.454 MB / 1.376 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.85, allocations: 9.719 kB / 1.376 GB, free: 0.918 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.651862980332226]