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.001792/0.001792, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002158/0.002158, allocations: 163.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.494/1.494, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.666/2.666, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.493e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002705/0.00273, allocations: 1.504 MB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000914/0.003644, allocations: 455.5 kB / 0.9528 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.003691, allocations: 0 / 0.9528 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.00372, allocations: 3.938 kB / 0.9528 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.003803, allocations: 7.875 kB / 0.9529 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.003957, allocations: 15.98 kB / 0.9529 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.004063, allocations: 59.83 kB / 0.9529 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.004161, allocations: 11.98 kB / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.004237, allocations: 31.86 kB / 0.953 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.004303, allocations: 19.95 kB / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.004324, allocations: 4 kB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.004341, allocations: 8 kB / 0.953 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.004366, allocations: 11.92 kB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.004404, allocations: 12 kB / 0.953 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.004516, allocations: 51.8 kB / 0.9531 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.004519, allocations: 0 / 0.9531 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00452, allocations: 0 / 0.9531 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.004524, allocations: 4 kB / 0.9531 GB, free: 9.391 MB / 0.8575 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.0005368/0.005061, allocations: 278.3 kB / 0.9533 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.005097, allocations: 12.03 kB / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.00513, allocations: 8.891 kB / 0.9534 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.005248, allocations: 105.7 kB / 0.9535 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.005267, allocations: 12.31 kB / 0.9535 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.005282, allocations: 8.359 kB / 0.9535 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.00542, allocations: 54.19 kB / 0.9535 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.005428, allocations: 4.188 kB / 0.9535 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.005438, allocations: 4.375 kB / 0.9535 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.005449, allocations: 3.938 kB / 0.9535 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.039e-05/0.005519, allocations: 23.98 kB / 0.9536 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.005981, allocations: 240.4 kB / 0.9538 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.006104, allocations: 54.56 kB / 0.9539 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.006152, allocations: 24.89 kB / 0.9539 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.006163, allocations: 0 / 0.9539 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.006344, allocations: 75.41 kB / 0.9539 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.006346, allocations: 4 kB / 0.954 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002525/0.006599, allocations: 109.6 kB / 0.9541 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.006656, allocations: 55.34 kB / 0.9541 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.006768, allocations: 106 kB / 0.9542 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.006794, allocations: 29.7 kB / 0.9542 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.006872, allocations: 88.09 kB / 0.9543 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.006906, allocations: 23.8 kB / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.006964, allocations: 29.7 kB / 0.9544 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.007153, allocations: 314.8 kB / 0.9547 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.281e-05/0.007196, allocations: 19.98 kB / 0.9547 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.00726, allocations: 43.42 kB / 0.9547 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.007372, allocations: 75.41 kB / 0.9548 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007374, allocations: 0 / 0.9548 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001642/0.007538, allocations: 101.5 kB / 0.9549 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.007553, allocations: 4 kB / 0.9549 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.007558, allocations: 384 / 0.9549 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.007577, allocations: 4 kB / 0.9549 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.007661, allocations: 11.98 kB / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.007666, allocations: 0 / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.00774, allocations: 15.89 kB / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.007748, allocations: 8.031 kB / 0.9549 GB, free: 7.281 MB / 0.8575 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 0.0001231/0.007871, allocations: 125.8 kB / 0.9551 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.007885, allocations: 3.938 kB / 0.9551 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.007922, allocations: 8.125 kB / 0.9551 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.007926, allocations: 4 kB / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.007931, allocations: 0 / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.007935, allocations: 0 / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.008405, allocations: 306 kB / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.008406, allocations: 0 / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.008436, allocations: 8 kB / 0.9554 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.008438, allocations: 0 / 0.9554 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.008447, allocations: 3.938 kB / 0.9554 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.008448, allocations: 0 / 0.9554 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008449, allocations: 4 kB / 0.9554 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.008656, allocations: 183.4 kB / 0.9556 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.008673, allocations: 11.89 kB / 0.9556 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.008689, allocations: 0 / 0.9556 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/0.00878, allocations: 7.984 kB / 0.9556 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.008846, allocations: 11.98 kB / 0.9556 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.008852, allocations: 3.938 kB / 0.9556 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.481e-05/0.008907, allocations: 87.36 kB / 0.9557 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.008907, allocations: 0 / 0.9557 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002652/0.009172, allocations: 19.98 kB / 0.9557 GB, free: 6.445 MB / 0.8575 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.0001221/0.009294, allocations: 95.25 kB / 0.9558 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001736/0.009468, allocations: 56.17 kB / 0.9558 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.00947, allocations: 0 / 0.9558 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.009532, allocations: 31.86 kB / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.009838, allocations: 15.92 kB / 0.9559 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.01024, allocations: 145 kB / 0.956 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.01032, allocations: 75.33 kB / 0.9561 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.01035, allocations: 4 kB / 0.9561 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.01039, allocations: 12.5 kB / 0.9561 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.01039, allocations: 0 / 0.9561 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of Templates: time 0.003802/0.01419, allocations: 0.817 MB / 0.9569 GB, free: 5.168 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] 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] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.636088881641626]