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.001283/0.001283, allocations: 107.6 kB / 16.41 MB, free: 6.504 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.001331/0.001331, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.452/1.452, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.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.689/2.689, allocations: 469.8 MB / 0.7491 GB, free: 3.016 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.00209/0.00209, allocations: 67.91 kB / 1.073 GB, free: 112 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8576/0.8597, allocations: 159.1 MB / 1.229 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001973/0.8617, allocations: 0.6696 MB / 1.229 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.8633, allocations: 1.162 MB / 1.23 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.8634, allocations: 0 / 1.23 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.8634, allocations: 3.938 kB / 1.23 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.8635, allocations: 7.922 kB / 1.23 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.864, allocations: 144.3 kB / 1.231 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.8642, allocations: 147.7 kB / 1.231 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.8643, allocations: 12 kB / 1.231 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.8644, allocations: 59.89 kB / 1.231 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.8646, allocations: 55.8 kB / 1.231 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.8646, allocations: 16 kB / 1.231 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.8647, allocations: 23.98 kB / 1.231 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.8647, allocations: 27.91 kB / 1.231 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.555e-05/0.8648, allocations: 43.91 kB / 1.231 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.865, allocations: 133.4 kB / 1.231 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.865, allocations: 0 / 1.231 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.865, allocations: 0 / 1.231 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.8651, allocations: 0 / 1.231 GB, free: 2.289 MB / 0.9356 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.0006517/0.8657, allocations: 424.9 kB / 1.232 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8658, allocations: 12.03 kB / 1.232 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.8658, allocations: 34.73 kB / 1.232 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.8659, allocations: 12.89 kB / 1.232 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.8663, allocations: 216.4 kB / 1.232 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.8663, allocations: 8.375 kB / 1.232 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.8664, allocations: 12.38 kB / 1.232 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.8665, allocations: 89.88 kB / 1.232 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.8666, allocations: 0 / 1.232 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.8666, allocations: 4 kB / 1.232 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.8666, allocations: 4 kB / 1.232 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.8667, allocations: 39.91 kB / 1.232 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.8673, allocations: 356.6 kB / 1.232 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.8675, allocations: 98.53 kB / 1.232 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.8676, allocations: 40.84 kB / 1.232 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-06/0.8676, allocations: 3.938 kB / 1.232 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.8679, allocations: 134.1 kB / 1.233 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.923e-06/0.8679, allocations: 4 kB / 1.233 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0004463/0.8684, allocations: 193.6 kB / 1.233 GB, free: 460 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.8684, allocations: 59.39 kB / 1.233 GB, free: 388 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.8685, allocations: 113.8 kB / 1.233 GB, free: 264 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.8686, allocations: 41.64 kB / 1.233 GB, free: 216 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.8687, allocations: 88.12 kB / 1.233 GB, free: 124 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.8687, allocations: 31.75 kB / 1.233 GB, free: 92 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.8688, allocations: 45.69 kB / 1.233 GB, free: 40 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.869, allocations: 330.8 kB / 1.233 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.8691, allocations: 43.98 kB / 1.233 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.8692, allocations: 86.66 kB / 1.234 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.8695, allocations: 137.9 kB / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8695, allocations: 0 / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000358/0.8698, allocations: 216.3 kB / 1.234 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.8699, allocations: 33.7 kB / 1.234 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8699, allocations: 0 / 1.234 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.8699, allocations: 4 kB / 1.234 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.87, allocations: 11.98 kB / 1.234 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.87, allocations: 4.062 kB / 1.234 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.8702, allocations: 43.86 kB / 1.234 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.8702, allocations: 11.98 kB / 1.234 GB, free: 15.07 MB / 0.9512 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.0001269/0.8704, allocations: 129.7 kB / 1.234 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.8704, allocations: 11.95 kB / 1.234 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.8704, allocations: 12.48 kB / 1.234 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8704, allocations: 4 kB / 1.234 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.8704, allocations: 0 / 1.234 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8704, allocations: 3.938 kB / 1.234 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.8709, allocations: 431.5 kB / 1.235 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.8709, allocations: 7.938 kB / 1.235 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.871, allocations: 12 kB / 1.235 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.871, allocations: 0 / 1.235 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.871, allocations: 3.984 kB / 1.235 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.871, allocations: 0 / 1.235 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.871, allocations: 4 kB / 1.235 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.8713, allocations: 270.3 kB / 1.235 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.8714, allocations: 81.06 kB / 1.235 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.8714, allocations: 11.98 kB / 1.235 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.8715, allocations: 7.984 kB / 1.235 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.8716, allocations: 11.92 kB / 1.235 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.8716, allocations: 12 kB / 1.235 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.332e-05/0.8717, allocations: 87.27 kB / 1.235 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8717, allocations: 4 kB / 1.235 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002663/0.8719, allocations: 32 kB / 1.235 GB, free: 13.86 MB / 0.9512 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.0007487/0.8727, allocations: 0.8087 MB / 1.236 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.873, allocations: 183.3 kB / 1.236 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.873, allocations: 4.25 kB / 1.236 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.8732, allocations: 79.89 kB / 1.236 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.8734, allocations: 19.92 kB / 1.236 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.8754, allocations: 1.699 MB / 1.238 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.8758, allocations: 0.6885 MB / 1.238 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.8758, allocations: 8.547 kB / 1.238 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.8759, allocations: 31.42 kB / 1.238 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8759, allocations: 3.938 kB / 1.238 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.8992, allocations: 2.776 MB / 1.241 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.994, allocations: 13.62 kB / 1.241 GB, free: 7.539 MB / 0.9512 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: 14.997716907877475]