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.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.0008391/0.0008391, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001285/0.001285, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8725/0.8725, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.655/1.655, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.663e-06/1.663e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.439e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001074/0.001088, allocations: 0.6686 MB / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.002361, allocations: 1.175 MB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.002402, allocations: 0 / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.002428, allocations: 3.938 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.002489, allocations: 15.86 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.002864, allocations: 146.6 kB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.003013, allocations: 135.7 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.265e-05/0.003096, allocations: 19.91 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.041e-05/0.003186, allocations: 79.86 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.003271, allocations: 43.92 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.003292, allocations: 15.94 kB / 0.9528 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.153e-05/0.003343, allocations: 24 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.003369, allocations: 23.95 kB / 0.9528 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.003419, allocations: 39.91 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.003576, allocations: 151.7 kB / 0.953 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003578, allocations: 4 kB / 0.953 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.262e-06/0.003579, allocations: 7.938 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.003582, allocations: 0 / 0.953 GB, free: 0.9141 MB / 0.9011 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.000421/0.004003, allocations: 339.8 kB / 0.9533 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.004037, allocations: 8.031 kB / 0.9533 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.004066, allocations: 42.73 kB / 0.9534 GB, free: 496 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.004102, allocations: 8.891 kB / 0.9534 GB, free: 488 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.004351, allocations: 157.7 kB / 0.9535 GB, free: 304 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.004369, allocations: 8.375 kB / 0.9535 GB, free: 296 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.004389, allocations: 16.36 kB / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.00451, allocations: 82.14 kB / 0.9536 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.004516, allocations: 192 / 0.9536 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.004528, allocations: 8.359 kB / 0.9536 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.004533, allocations: 3.938 kB / 0.9536 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.695e-05/0.0046, allocations: 39.97 kB / 0.9537 GB, free: 140 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.004992, allocations: 295.9 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.005121, allocations: 82.56 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.005162, allocations: 36.78 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.005172, allocations: 4 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.005346, allocations: 124.1 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.005347, allocations: 0 / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0002825/0.005629, allocations: 213.1 kB / 0.9544 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.005662, allocations: 55.41 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.005723, allocations: 109.8 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.005743, allocations: 33.7 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.005783, allocations: 92.14 kB / 0.9547 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.005805, allocations: 35.73 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.005856, allocations: 41.7 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.005937, allocations: 322.8 kB / 0.9551 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.006022, allocations: 81.67 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.006115, allocations: 119.6 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.006233, allocations: 137.9 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006235, allocations: 7.938 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002255/0.006461, allocations: 244.9 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.006487, allocations: 44.28 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006491, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.006503, allocations: 4 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.006552, allocations: 15.94 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.006556, allocations: 0 / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.006661, allocations: 40.03 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.006676, allocations: 15.98 kB / 0.9557 GB, free: 13.84 MB / 0.9167 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 7.574e-05/0.006752, allocations: 129.7 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.006763, allocations: 11.89 kB / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.006787, allocations: 16.38 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006789, allocations: 0 / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006793, allocations: 0 / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.006796, allocations: 0 / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.007075, allocations: 400.8 kB / 0.9563 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.007076, allocations: 4 kB / 0.9563 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.007093, allocations: 7.938 kB / 0.9563 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.007094, allocations: 0 / 0.9563 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.007103, allocations: 3.984 kB / 0.9563 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.007104, allocations: 0 / 0.9563 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.007106, allocations: 4.312 kB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.007278, allocations: 271.4 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.007286, allocations: 11.94 kB / 0.9566 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.0073, allocations: 0 / 0.9566 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.007348, allocations: 11.98 kB / 0.9566 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.007387, allocations: 11.97 kB / 0.9566 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.007397, allocations: 16 kB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.008e-05/0.007427, allocations: 87.25 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.007427, allocations: 0 / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001882/0.007615, allocations: 32 kB / 0.9567 GB, free: 12.77 MB / 0.9167 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.0003965/0.008012, allocations: 0.8157 MB / 0.9575 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.008224, allocations: 201 kB / 0.9577 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.008225, allocations: 0 / 0.9577 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.81e-05/0.008283, allocations: 56.16 kB / 0.9577 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.008465, allocations: 27.86 kB / 0.9578 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.00986, allocations: 1.828 MB / 0.9596 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.009906, allocations: 75.33 kB / 0.9596 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.009933, allocations: 12.48 kB / 0.9596 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.009971, allocations: 24.5 kB / 0.9597 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of SimCode: time 3.61e-07/0.009971, allocations: 0 / 0.9597 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.02568, allocations: 3.576 MB / 0.9632 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.661/6.686, allocations: 6.016 kB / 0.9632 GB, free: 6.125 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.593095660209656]