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.001349/0.001349, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001528/0.001528, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002082/0.002082, allocations: 66.22 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3598, allocations: 170 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003066/0.3629, allocations: 1.519 MB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.3638, allocations: 484.6 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.3639, allocations: 4 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.3639, allocations: 7.922 kB / 1.287 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.237e-05/0.364, allocations: 11.92 kB / 1.287 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.3641, allocations: 19.92 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3643, allocations: 51.84 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3644, allocations: 11.94 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.3644, allocations: 19.92 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.3645, allocations: 31.83 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3645, allocations: 4 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.3645, allocations: 4 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.3646, allocations: 12 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.3646, allocations: 23.86 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3647, allocations: 39.88 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3647, allocations: 0 / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3647, allocations: 0 / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.3647, allocations: 3.938 kB / 1.287 GB, free: 9.012 MB / 0.9825 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.000546/0.3653, allocations: 287.9 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3653, allocations: 8.031 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.3654, allocations: 8.891 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.3655, allocations: 118.5 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3655, allocations: 4.375 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.3655, allocations: 12.31 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.3656, allocations: 54 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3657, allocations: 0 / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3657, allocations: 7.984 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3657, allocations: 4 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/0.3657, allocations: 19.98 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.3663, allocations: 279.7 kB / 1.288 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3664, allocations: 50.5 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.3664, allocations: 28.94 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.3664, allocations: 0 / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.3666, allocations: 75.42 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.3666, allocations: 0 / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002451/0.3669, allocations: 101.6 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.3669, allocations: 55.41 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/0.367, allocations: 101.8 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.367, allocations: 33.7 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.3671, allocations: 92.03 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.3671, allocations: 19.88 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.3672, allocations: 25.72 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3673, allocations: 330.8 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.3674, allocations: 12 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.3674, allocations: 47.36 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.827e-05/0.3675, allocations: 71.3 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3675, allocations: 0 / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001477/0.3677, allocations: 109.7 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3677, allocations: 6.344 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3677, allocations: 0 / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3677, allocations: 4 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.3678, allocations: 12 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.3678, allocations: 0 / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.3679, allocations: 7.984 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3679, allocations: 4 kB / 1.289 GB, free: 6.855 MB / 0.9825 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.0001055/0.368, allocations: 125.8 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.368, allocations: 7.953 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.368, allocations: 8.062 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.368, allocations: 384 / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.368, allocations: 64 / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.368, allocations: 8 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.3684, allocations: 341.3 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3684, allocations: 0 / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.3685, allocations: 4 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3685, allocations: 4 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3685, allocations: 0 / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3685, allocations: 3.938 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3685, allocations: 4 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.3687, allocations: 179.5 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.3687, allocations: 3.953 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3687, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.3688, allocations: 15.92 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.3688, allocations: 11.98 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.3688, allocations: 4 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.3689, allocations: 83.22 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3689, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002277/0.3691, allocations: 16 kB / 1.289 GB, free: 5.973 MB / 0.9825 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.0001059/0.3692, allocations: 103.2 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.3694, allocations: 43.92 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3694, allocations: 4.062 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/0.3694, allocations: 27.92 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3697, allocations: 15.94 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.37, allocations: 179.6 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3703, allocations: 0.6884 MB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.3704, allocations: 11.44 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3704, allocations: 0 / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of Templates: time 0.002642/0.373, allocations: 0.8687 MB / 1.291 GB, free: 3.98 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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] "" 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.072236179024912]