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.0008799/0.0008799, 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.0008143/0.0008143, 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.8969/0.8969, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.658/1.658, 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.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 1.433e-06/1.433e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.028e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.0019/0.00192, allocations: 1.489 MB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005426/0.002463, allocations: 467.3 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.002494, allocations: 0 / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.002519, allocations: 3.938 kB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.002586, allocations: 3.984 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.00283, allocations: 27.84 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.332e-05/0.002923, allocations: 51.78 kB / 0.9525 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.00303, allocations: 12 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.003101, allocations: 31.95 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.003157, allocations: 15.92 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.003181, allocations: 8 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.003189, allocations: 4 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.003209, allocations: 7.984 kB / 0.9525 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.003248, allocations: 27.84 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.003354, allocations: 43.88 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.003357, allocations: 0 / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.854e-06/0.003359, allocations: 0 / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.003363, allocations: 0 / 0.9526 GB, free: 1.309 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.0004078/0.003771, allocations: 294.2 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.003808, allocations: 8.031 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.003844, allocations: 38.73 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.00387, allocations: 8.875 kB / 0.9529 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.559e-05/0.003955, allocations: 109.8 kB / 0.953 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.003968, allocations: 8.375 kB / 0.9531 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.003978, allocations: 4.375 kB / 0.9531 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.262e-05/0.004071, allocations: 58.17 kB / 0.9531 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004078, allocations: 192 / 0.9531 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.004087, allocations: 4.125 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.004093, allocations: 4 kB / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.15e-05/0.004144, allocations: 27.98 kB / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.004506, allocations: 263.8 kB / 0.9534 GB, free: 396 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.224e-05/0.004599, allocations: 50.56 kB / 0.9534 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.004632, allocations: 24.95 kB / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.004642, allocations: 0 / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.004792, allocations: 79.36 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.004793, allocations: 4 kB / 0.9536 GB, free: 212 kB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.0001804/0.004973, allocations: 97.89 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.005008, allocations: 55.41 kB / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.013e-05/0.005078, allocations: 113.9 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.005089, allocations: 29.64 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.005127, allocations: 88.14 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.005146, allocations: 23.84 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.005179, allocations: 25.7 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.889e-05/0.005248, allocations: 318.8 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.628e-05/0.005274, allocations: 19.98 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.005313, allocations: 43.42 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.663e-05/0.00538, allocations: 71.53 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.005383, allocations: 8 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.19e-05/0.005475, allocations: 89.58 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.005486, allocations: 7.938 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005492, allocations: 3.938 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.005502, allocations: 4 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.005562, allocations: 15.98 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.005566, allocations: 0 / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.005604, allocations: 4 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.005609, allocations: 4 kB / 0.9545 GB, free: 15.12 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 6.213e-05/0.005671, allocations: 137.7 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.005679, allocations: 7.953 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.0057, allocations: 4.125 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.005703, allocations: 4 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.005707, allocations: 0 / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.00571, allocations: 0 / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.005969, allocations: 325.5 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.005971, allocations: 0 / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.005983, allocations: 0 / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.005986, allocations: 7.984 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.005993, allocations: 8.062 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.005994, allocations: 0 / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005995, allocations: 0 / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.006096, allocations: 191.4 kB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.006103, allocations: 3.984 kB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.006112, allocations: 0 / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.006155, allocations: 4 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.00619, allocations: 11.98 kB / 0.9552 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.006197, allocations: 11.92 kB / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.584e-05/0.006223, allocations: 79.28 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006223, allocations: 4 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001644/0.006388, allocations: 16 kB / 0.9553 GB, free: 14.24 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.0002757/0.006663, allocations: 0.7123 MB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.006764, allocations: 51.92 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006766, allocations: 0 / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.006802, allocations: 23.98 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.007003, allocations: 16.34 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.00786, allocations: 1.367 MB / 0.9574 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.443e-05/0.007905, allocations: 71.41 kB / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.007931, allocations: 7.984 kB / 0.9575 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.007973, allocations: 20.5 kB / 0.9575 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of SimCode: time 4.1e-07/0.007973, allocations: 0 / 0.9575 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.02328, allocations: 2.475 MB / 0.9599 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.599/6.622, allocations: 4 kB / 0.9599 GB, free: 9.504 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.493369502946734]