Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 191.8 kB / 22.1 MB, free: 4.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.973/2.973, allocations: 495.8 MB / 0.7831 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 60.08 kB / 1.137 GB, free: 12.24 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 173.6 MB / 1.307 GB, free: 33.84 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003103/1.076, allocations: 1.495 MB / 1.308 GB, free: 32.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008299/1.077, allocations: 447.7 kB / 1.309 GB, free: 32.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/1.077, allocations: 0 / 1.309 GB, free: 32.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/1.077, allocations: 10.75 kB / 1.309 GB, free: 32.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.924e-05/1.077, allocations: 11.12 kB / 1.309 GB, free: 32.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/1.077, allocations: 22.36 kB / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/1.077, allocations: 61.27 kB / 1.309 GB, free: 32.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/1.078, allocations: 6.844 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/1.078, allocations: 24 kB / 1.309 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/1.078, allocations: 24.66 kB / 1.309 GB, free: 32.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/1.078, allocations: 2.906 kB / 1.309 GB, free: 32.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/1.078, allocations: 5.594 kB / 1.309 GB, free: 32.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/1.078, allocations: 10.78 kB / 1.309 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/1.078, allocations: 25.59 kB / 1.309 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/1.078, allocations: 40.86 kB / 1.309 GB, free: 32.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.078, allocations: 0 / 1.309 GB, free: 32.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/1.078, allocations: 6.812 kB / 1.309 GB, free: 32.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.25e-06/1.078, allocations: 0 / 1.309 GB, free: 32.38 MB / 1.061 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.0005409/1.079, allocations: 289.6 kB / 1.309 GB, free: 32.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.079, allocations: 8.594 kB / 1.309 GB, free: 32.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/1.079, allocations: 7.75 kB / 1.309 GB, free: 32.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/1.079, allocations: 117.3 kB / 1.309 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/1.079, allocations: 3.25 kB / 1.309 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/1.079, allocations: 3.25 kB / 1.309 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/1.079, allocations: 62.88 kB / 1.309 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.079, allocations: 0 / 1.309 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/1.079, allocations: 10.22 kB / 1.309 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.079, allocations: 0 / 1.309 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/1.079, allocations: 25.17 kB / 1.309 GB, free: 31.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/1.08, allocations: 269.6 kB / 1.31 GB, free: 31.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/1.08, allocations: 57.83 kB / 1.31 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/1.08, allocations: 24.36 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/1.08, allocations: 3.938 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/1.08, allocations: 75.41 kB / 1.31 GB, free: 31.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/1.08, allocations: 0 / 1.31 GB, free: 31.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002783/1.08, allocations: 99.61 kB / 1.31 GB, free: 31.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/1.08, allocations: 54.25 kB / 1.31 GB, free: 31.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/1.08, allocations: 115.7 kB / 1.31 GB, free: 31.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/1.08, allocations: 25.7 kB / 1.31 GB, free: 31.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/1.08, allocations: 86.89 kB / 1.31 GB, free: 31.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/1.08, allocations: 22.05 kB / 1.31 GB, free: 31.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/1.08, allocations: 22.62 kB / 1.31 GB, free: 31.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/1.08, allocations: 325.1 kB / 1.31 GB, free: 30.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/1.081, allocations: 19.95 kB / 1.311 GB, free: 30.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/1.081, allocations: 52.94 kB / 1.311 GB, free: 30.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/1.081, allocations: 66.92 kB / 1.311 GB, free: 30.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.081, allocations: 0 / 1.311 GB, free: 30.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001887/1.081, allocations: 93.56 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.081, allocations: 5.938 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.081, allocations: 3.328 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.081, allocations: 7.031 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/1.081, allocations: 9.688 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.081, allocations: 6.781 kB / 1.311 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.956e-05/1.081, allocations: 12.88 kB / 1.311 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/1.081, allocations: 2.969 kB / 1.311 GB, free: 30.65 MB / 1.061 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.192e-05/1.081, allocations: 122.8 kB / 1.311 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/1.081, allocations: 6.922 kB / 1.311 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/1.081, allocations: 14.66 kB / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.081, allocations: 7.281 kB / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.081, allocations: 0 / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.081, allocations: 384 / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/1.082, allocations: 335.5 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.082, allocations: 0 / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/1.082, allocations: 6.438 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.082, allocations: 2.406 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/1.082, allocations: 3.281 kB / 1.311 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.082, allocations: 3.938 kB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.082, allocations: 6.938 kB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/1.082, allocations: 180.7 kB / 1.311 GB, free: 30.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/1.082, allocations: 2.781 kB / 1.311 GB, free: 30.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/1.082, allocations: 2.844 kB / 1.311 GB, free: 30.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/1.082, allocations: 13.72 kB / 1.311 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/1.082, allocations: 5.828 kB / 1.311 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/1.082, allocations: 2.875 kB / 1.311 GB, free: 30.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.964e-05/1.082, allocations: 89.58 kB / 1.312 GB, free: 29.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.082, allocations: 0 / 1.312 GB, free: 29.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004281/1.083, allocations: 15.61 kB / 1.312 GB, free: 29.94 MB / 1.061 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 8.207e-05/1.083, allocations: 102.7 kB / 1.312 GB, free: 29.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001682/1.083, allocations: 54.14 kB / 1.312 GB, free: 29.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.083, allocations: 0 / 1.312 GB, free: 29.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/1.083, allocations: 29.33 kB / 1.312 GB, free: 29.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/1.083, allocations: 13.94 kB / 1.312 GB, free: 29.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/1.084, allocations: 158.7 kB / 1.312 GB, free: 29.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/1.084, allocations: 0.6861 MB / 1.313 GB, free: 28.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.611e-05/1.084, allocations: 6.375 kB / 1.313 GB, free: 28.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/1.084, allocations: 12.69 kB / 1.313 GB, free: 28.97 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/1.084, allocations: 0 / 1.313 GB, free: 28.97 MB / 1.061 GB Notification: Performance of Templates: time 0.004463/1.088, allocations: 0.8253 MB / 1.313 GB, free: 28.87 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.52306923083961]