Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001372/0.001372, allocations: 102.1 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.001452/0.001452, allocations: 220.6 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.733/2.733, allocations: 476.7 MB / 0.7714 GB, free: 4.289 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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [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.002025/0.002025, allocations: 65.84 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3104, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002034/0.3125, allocations: 0.7404 MB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3142, allocations: 1.297 MB / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.3143, allocations: 0 / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.3143, allocations: 7.922 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.636e-05/0.3144, allocations: 23.8 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007477/0.3152, allocations: 247.5 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.3155, allocations: 259.5 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3156, allocations: 12.22 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3158, allocations: 95.86 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.316, allocations: 103.7 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.316, allocations: 24 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.346e-05/0.3161, allocations: 35.97 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.3162, allocations: 31.97 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.3163, allocations: 91.69 kB / 1.288 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.3166, allocations: 223.3 kB / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3166, allocations: 7.938 kB / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3166, allocations: 4 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3166, allocations: 0 / 1.288 GB, free: 8.066 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007862/0.3174, allocations: 433.2 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3174, allocations: 8.031 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.3175, allocations: 16.89 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.3181, allocations: 198.5 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.3181, allocations: 12.38 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.3182, allocations: 24.3 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3184, allocations: 127.9 kB / 1.289 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3184, allocations: 7.922 kB / 1.289 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.3184, allocations: 8 kB / 1.289 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3185, allocations: 3.938 kB / 1.289 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.3186, allocations: 67.89 kB / 1.289 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008527/0.3194, allocations: 483.8 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.3197, allocations: 141.2 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.422e-05/0.3198, allocations: 53.69 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.036e-06/0.3198, allocations: 0 / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.3202, allocations: 209 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.3202, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.000604/0.3208, allocations: 310.8 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.3208, allocations: 89.03 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3209, allocations: 130.9 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.321, allocations: 37.7 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.3211, allocations: 100.6 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.3211, allocations: 55.62 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.3213, allocations: 77.61 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3214, allocations: 326.8 kB / 1.291 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.3216, allocations: 80.23 kB / 1.291 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.3218, allocations: 160.7 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.3222, allocations: 249 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3222, allocations: 4 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000594/0.3228, allocations: 356.7 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.3228, allocations: 71.33 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.3228, allocations: 0 / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3228, allocations: 4 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.244e-05/0.3229, allocations: 15.98 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.3229, allocations: 16.09 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.3233, allocations: 63.83 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.3233, allocations: 27.92 kB / 1.292 GB, free: 3.855 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001573/0.3235, allocations: 139.7 kB / 1.292 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.3235, allocations: 31.89 kB / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.3236, allocations: 8.438 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3236, allocations: 4 kB / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3236, allocations: 3.938 kB / 1.292 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3236, allocations: 3.984 kB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.3243, allocations: 0.5813 MB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3243, allocations: 0 / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.3243, allocations: 19.92 kB / 1.292 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3243, allocations: 3.938 kB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3243, allocations: 8 kB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3243, allocations: 0 / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3243, allocations: 3.984 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.3248, allocations: 425.7 kB / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.3248, allocations: 8.047 kB / 1.293 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.3248, allocations: 19.86 kB / 1.293 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.325, allocations: 11.98 kB / 1.293 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.325, allocations: 23.95 kB / 1.293 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3251, allocations: 15.98 kB / 1.293 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.954e-05/0.3251, allocations: 95.27 kB / 1.293 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3251, allocations: 0 / 1.293 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003621/0.3255, allocations: 55.94 kB / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001724/0.3257, allocations: 119.2 kB / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004934/0.3261, allocations: 310.6 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3262, allocations: 0 / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.3263, allocations: 95.88 kB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3267, allocations: 31.91 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.3273, allocations: 294.4 kB / 1.294 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.3276, allocations: 0.7086 MB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.3277, allocations: 23.42 kB / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3277, allocations: 0 / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of Templates: time 0.00456/0.3322, allocations: 2.274 MB / 1.297 GB, free: 14.42 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time [Calling sys.exit(0), Time elapsed: 11.082278554007644]