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.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.001344/0.001344, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.00168/0.00168, allocations: 207.2 kB / 23.03 MB, free: 4.863 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.222/3.222, allocations: 0.49 GB / 0.7959 GB, free: 35.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 64.7 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3619, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003111/0.365, allocations: 1.506 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009126/0.3659, allocations: 443 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.119e-05/0.366, allocations: 4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.366, allocations: 3.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.611e-05/0.3661, allocations: 7.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.3663, allocations: 27.91 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3664, allocations: 59.77 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3665, allocations: 8 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.3665, allocations: 23.92 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.3666, allocations: 11.92 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3666, allocations: 7.938 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.3666, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.3667, allocations: 15.98 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.3667, allocations: 23.91 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.3668, allocations: 43.77 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3668, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3668, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3668, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 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.000545/0.3674, allocations: 290.1 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3674, allocations: 12.03 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3675, allocations: 8.891 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3676, allocations: 106.5 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3676, allocations: 8.375 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.3676, allocations: 8.375 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.3678, allocations: 57.98 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3678, allocations: 0 / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3678, allocations: 3.938 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3678, allocations: 4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.119e-05/0.3678, allocations: 19.98 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.3683, allocations: 244.4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3684, allocations: 54.59 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.401e-05/0.3685, allocations: 24.95 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.3685, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.3687, allocations: 75.36 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3687, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002351/0.3689, allocations: 109.5 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3689, allocations: 59.34 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.369, allocations: 105.8 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.3691, allocations: 29.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.3691, allocations: 88.09 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3691, allocations: 15.84 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.3692, allocations: 37.7 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3693, allocations: 318.8 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.3694, allocations: 27.92 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.3694, allocations: 43.61 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/0.3695, allocations: 67.36 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3695, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001515/0.3697, allocations: 93.56 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3697, allocations: 8 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3697, allocations: 0 / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3697, allocations: 8.031 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.3698, allocations: 15.98 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3698, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.3699, allocations: 7.953 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3699, allocations: 8 kB / 1.331 GB, free: 12.68 MB / 1.029 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.0001175/0.37, allocations: 122.3 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.37, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.37, allocations: 8.062 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.37, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.37, allocations: 4 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3701, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.3704, allocations: 309.9 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3704, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.3705, allocations: 8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3705, allocations: 480 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.3705, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3705, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3705, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.3707, allocations: 191.3 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.3707, allocations: 3.953 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3707, allocations: 8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.3708, allocations: 3.984 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.3708, allocations: 11.98 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3708, allocations: 7.938 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.3709, allocations: 83.31 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3709, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002478/0.3711, allocations: 19.98 kB / 1.332 GB, free: 11.84 MB / 1.029 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 9.74e-05/0.3712, allocations: 99.38 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.3714, allocations: 55.86 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3714, allocations: 4.062 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.3714, allocations: 23.98 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.3717, allocations: 9.719 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.3721, allocations: 167.2 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.106e-05/0.3721, allocations: 75.23 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.3722, allocations: 11.44 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3722, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of Templates: time 0.00249/0.3747, allocations: 0.8785 MB / 1.333 GB, free: 10.46 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time [Calling sys.exit(0), Time elapsed: 11.333242387976497]