Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008561/0.0008561, 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.0008065/0.0008065, allocations: 169.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.917/0.917, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.65/1.65, allocations: 359 MB / 0.6037 GB, free: 11.07 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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.625e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00202/0.002047, allocations: 1.502 MB / 0.9519 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006606/0.002707, allocations: 459.4 kB / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.002742, allocations: 0 / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.002769, allocations: 7.938 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.299e-05/0.002842, allocations: 11.92 kB / 0.9524 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.002988, allocations: 23.91 kB / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.342e-05/0.003071, allocations: 51.84 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.003165, allocations: 4 kB / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.409e-05/0.003229, allocations: 39.83 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.779e-05/0.003286, allocations: 15.92 kB / 0.9525 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.003308, allocations: 4 kB / 0.9525 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.003317, allocations: 4 kB / 0.9525 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.003339, allocations: 11.98 kB / 0.9525 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.003374, allocations: 27.91 kB / 0.9526 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.00347, allocations: 43.81 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003472, allocations: 0 / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.024e-06/0.003474, allocations: 3.984 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.003479, allocations: 0 / 0.9526 GB, free: 1.277 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003943/0.003873, allocations: 286.2 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.003911, allocations: 8.031 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.003942, allocations: 38.73 kB / 0.9529 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.003967, allocations: 0.9375 kB / 0.9529 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.004071, allocations: 117.6 kB / 0.953 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.004083, allocations: 12.38 kB / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.004094, allocations: 4.375 kB / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.778e-05/0.004191, allocations: 54.23 kB / 0.9531 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.0042, allocations: 4.125 kB / 0.9531 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.004211, allocations: 12.12 kB / 0.9531 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.004216, allocations: 0 / 0.9531 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.11e-05/0.004287, allocations: 23.92 kB / 0.9531 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.004688, allocations: 255.9 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.569e-05/0.004784, allocations: 58.59 kB / 0.9534 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.004816, allocations: 21 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.004825, allocations: 3.938 kB / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/0.005174, allocations: 75.34 kB / 0.9535 GB, free: 192 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.005175, allocations: 0 / 0.9535 GB, free: 192 kB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.0001779/0.005353, allocations: 97.89 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.00539, allocations: 59.41 kB / 0.9537 GB, free: 16 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.005457, allocations: 105.9 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.005469, allocations: 33.64 kB / 0.9538 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.005505, allocations: 84.14 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.005526, allocations: 31.83 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.00556, allocations: 25.72 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.005639, allocations: 322.8 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.005666, allocations: 16 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.005708, allocations: 47.36 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.138e-05/0.005779, allocations: 75.53 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.005782, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001003/0.005882, allocations: 93.58 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.005908, allocations: 10.48 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.005915, allocations: 4 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.005928, allocations: 4.031 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.005997, allocations: 8 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.006003, allocations: 4 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.006045, allocations: 19.8 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.006053, allocations: 8 kB / 0.9545 GB, free: 15.08 MB / 0.9167 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 7.218e-05/0.006125, allocations: 117.8 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-06/0.006133, allocations: 3.953 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.00616, allocations: 12.12 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.006162, allocations: 0 / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.006167, allocations: 4 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006171, allocations: 0 / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.006461, allocations: 321.5 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.006463, allocations: 0 / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.006481, allocations: 7.984 kB / 0.955 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006484, allocations: 0 / 0.955 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.00649, allocations: 0 / 0.955 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.006492, allocations: 3.938 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006493, allocations: 0 / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.006603, allocations: 191.5 kB / 0.9552 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.00661, allocations: 4 kB / 0.9552 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.006621, allocations: 7.938 kB / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.006665, allocations: 12.05 kB / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.006707, allocations: 7.984 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.006714, allocations: 7.938 kB / 0.9552 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.006746, allocations: 83.28 kB / 0.9553 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.006746, allocations: 0 / 0.9553 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001665/0.006913, allocations: 15.94 kB / 0.9553 GB, free: 14.21 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: 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.0003062/0.007219, allocations: 0.7124 MB / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.007337, allocations: 55.91 kB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.007339, allocations: 4 kB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.007375, allocations: 19.94 kB / 0.9561 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.007585, allocations: 20.34 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008511/0.008436, allocations: 1.366 MB / 0.9574 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.008481, allocations: 67.34 kB / 0.9575 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.008507, allocations: 7.984 kB / 0.9575 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.008546, allocations: 20.5 kB / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.008547, allocations: 4 kB / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.02574, allocations: 2.472 MB / 0.9599 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/6.637, allocations: 4.562 kB / 0.9599 GB, free: 9.477 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim1.u from file Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! Error: Could not read variable offTim2.u in file Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim2.u from file Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.649403043091297]