Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.0008917/0.0008917, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008819/0.0008819, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9114/0.9114, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.775/1.775, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 4 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.446e-05, allocations: 8.75 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001879/0.001904, allocations: 1.486 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005682/0.002472, allocations: 459.6 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.002508, allocations: 0 / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.002539, allocations: 3.938 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.002622, allocations: 7.938 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.002774, allocations: 23.91 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.452e-05/0.002858, allocations: 63.7 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.002962, allocations: 12 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.003026, allocations: 23.97 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.003082, allocations: 19.91 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.003107, allocations: 8 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-06/0.003115, allocations: 4 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.003134, allocations: 7.984 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.003167, allocations: 15.94 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.772e-05/0.003264, allocations: 43.92 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003266, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.003268, allocations: 4 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003271, allocations: 0 / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004017/0.003673, allocations: 286.2 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.00371, allocations: 8.75 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.00374, allocations: 38.73 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.003764, allocations: 8.891 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.126e-05/0.003845, allocations: 109.7 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.003856, allocations: 8.312 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.003868, allocations: 8.375 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.433e-05/0.003952, allocations: 58.23 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.003959, allocations: 192 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.003968, allocations: 4.125 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.003973, allocations: 7.984 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.856e-05/0.004022, allocations: 27.92 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.004355, allocations: 271.8 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.004432, allocations: 46.56 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.004464, allocations: 28.98 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.004472, allocations: 0 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.004593, allocations: 79.31 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 8.12e-07/0.004594, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001678/0.004762, allocations: 105.6 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.00479, allocations: 51.41 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.055e-05/0.00484, allocations: 105.8 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.004853, allocations: 29.7 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.004885, allocations: 88.09 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.004903, allocations: 15.91 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.004933, allocations: 29.7 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.005, allocations: 318.8 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.005025, allocations: 23.98 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.005062, allocations: 51.3 kB / 1.003 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.101e-05/0.005123, allocations: 63.38 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.005126, allocations: 4 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.738e-05/0.005214, allocations: 93.56 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.005225, allocations: 4 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005229, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.005241, allocations: 7.938 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.005297, allocations: 11.98 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.005303, allocations: 11.95 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.00534, allocations: 8 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.005345, allocations: 4 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 5.818e-05/0.005403, allocations: 129.7 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-06/0.005409, allocations: 4.234 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.00543, allocations: 8.125 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.005433, allocations: 7.984 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.005437, allocations: 0 / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.00544, allocations: 0 / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.005686, allocations: 333.8 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005687, allocations: 4.062 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.005698, allocations: 4 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.005699, allocations: 7.938 kB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.005708, allocations: 7.984 kB / 1.004 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005708, allocations: 0 / 1.004 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005709, allocations: 0 / 1.004 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.183e-05/0.005801, allocations: 179.4 kB / 1.004 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-06/0.005808, allocations: 7.953 kB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.005819, allocations: 7.984 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.005858, allocations: 4 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.005892, allocations: 11.98 kB / 1.004 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.005896, allocations: 7.938 kB / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.005924, allocations: 87.27 kB / 1.004 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005924, allocations: 0 / 1.004 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000151/0.006075, allocations: 16 kB / 1.004 GB, free: 8.246 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002453/0.006321, allocations: 0.7046 MB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.006421, allocations: 51.92 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.006423, allocations: 0 / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.006459, allocations: 28.27 kB / 1.005 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.006645, allocations: 18.34 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008008/0.007445, allocations: 1.37 MB / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.395e-05/0.007489, allocations: 75.19 kB / 1.007 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.00751, allocations: 7.984 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.007549, allocations: 20.5 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.007549, allocations: 0 / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.02305, allocations: 2.484 MB / 1.009 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.636/6.659, allocations: 2.641 kB / 1.009 GB, free: 3.492 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable offTim1.u in file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim1.u from file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! Error: Could not read variable offTim2.u in file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim2.u from file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.778735575266182]