Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001349/0.001349, 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.001547/0.001547, allocations: 221.2 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.449/1.449, 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 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.216/3.216, allocations: 0.49 GB / 0.7958 GB, free: 33.35 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.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_12_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_12_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.002178/0.002178, allocations: 72.28 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3161, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001918/0.3181, allocations: 0.7457 MB / 1.328 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3198, allocations: 1.303 MB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.3198, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.3199, allocations: 7.875 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.222e-05/0.32, allocations: 19.84 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.3207, allocations: 247.2 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000313/0.321, allocations: 259.5 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.424e-05/0.3211, allocations: 12.22 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3212, allocations: 103.8 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.3214, allocations: 99.69 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.3214, allocations: 20 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.509e-05/0.3215, allocations: 39.98 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.3216, allocations: 27.97 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3217, allocations: 91.75 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.322, allocations: 227.3 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.322, allocations: 4 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.322, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.322, allocations: 4 kB / 1.33 GB, free: 14.28 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007256/0.3227, allocations: 425.2 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3227, allocations: 8.031 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.3228, allocations: 20.88 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.3234, allocations: 191.8 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.3234, allocations: 12.36 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.3234, allocations: 20.38 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.3237, allocations: 131.9 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3237, allocations: 3.938 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3237, allocations: 8 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3237, allocations: 0 / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.3239, allocations: 67.89 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.3247, allocations: 495.8 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.3249, allocations: 137.1 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/0.325, allocations: 57.62 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.325, allocations: 3.938 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003412/0.3254, allocations: 208.8 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.3254, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005661/0.326, allocations: 314.5 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.326, allocations: 89.05 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3261, allocations: 127.5 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.3262, allocations: 45.7 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.3263, allocations: 104.7 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.3263, allocations: 55.62 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.3264, allocations: 65.69 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3266, allocations: 330.8 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.3268, allocations: 84.23 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.327, allocations: 152.2 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.3273, allocations: 244.6 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3273, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005931/0.3279, allocations: 360.6 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.328, allocations: 67.41 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.328, allocations: 384 / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.328, allocations: 12.2 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.3281, allocations: 15.94 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3281, allocations: 7.938 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.3285, allocations: 71.75 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.3285, allocations: 20 kB / 1.334 GB, free: 10.07 MB / 1.029 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.0001436/0.3286, allocations: 144.3 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3287, allocations: 15.91 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.3287, allocations: 24.41 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3287, allocations: 7.938 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3287, allocations: 3.938 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3287, allocations: 0 / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/0.3294, allocations: 0.5809 MB / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3294, allocations: 3.984 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.3294, allocations: 12 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3294, allocations: 3.938 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3295, allocations: 11.98 kB / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3295, allocations: 0 / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3295, allocations: 0 / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.3299, allocations: 420.2 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.3299, allocations: 11.95 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.33, allocations: 15.94 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3301, allocations: 15.98 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.3302, allocations: 23.95 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3302, allocations: 11.98 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.536e-05/0.3303, allocations: 103.3 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3303, allocations: 0 / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003545/0.3306, allocations: 55.92 kB / 1.335 GB, free: 8.551 MB / 1.029 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.000183/0.3308, allocations: 123.5 kB / 1.336 GB, free: 8.422 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000498/0.3313, allocations: 318.6 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3313, allocations: 0 / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.3315, allocations: 81.14 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.3319, allocations: 36.12 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.3324, allocations: 310.4 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.3328, allocations: 0.7047 MB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.3328, allocations: 19.44 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3328, allocations: 4 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of Templates: time 0.004455/0.3373, allocations: 2.262 MB / 1.339 GB, free: 4.621 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.149617071991088]