Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001331/0.001331, allocations: 116.5 kB / 17.13 MB, free: 5.945 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.00142/0.00142, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.502/1.502, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.889/2.889, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [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.00215/0.00215, allocations: 75.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9518/0.9539, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001684/0.9556, allocations: 0.7121 MB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.9563, allocations: 0.8644 MB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.9564, allocations: 2.969 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.9564, allocations: 3.938 kB / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.026e-05/0.9565, allocations: 3.938 kB / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.9566, allocations: 36.81 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.165e-05/0.9567, allocations: 47.89 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.9568, allocations: 10.48 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.9568, allocations: 24.22 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.898e-05/0.9569, allocations: 25.48 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.9569, allocations: 5.844 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.9569, allocations: 2.906 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.957, allocations: 7.281 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.957, allocations: 25.02 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.125e-05/0.9571, allocations: 48.53 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9571, allocations: 0 / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9571, allocations: 0 / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.9571, allocations: 3.938 kB / 1.324 GB, free: 23.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000461/0.9575, allocations: 362.4 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.9576, allocations: 15.73 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.9576, allocations: 0.9375 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.9577, allocations: 174.3 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.9577, allocations: 3.188 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.9577, allocations: 3.5 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.9579, allocations: 65.97 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.9579, allocations: 0 / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.9579, allocations: 8 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.958, allocations: 0 / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.9582, allocations: 50.73 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.9585, allocations: 292.2 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.9587, allocations: 65.69 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.9588, allocations: 25.89 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.9588, allocations: 3.422 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.144e-05/0.9588, allocations: 30.56 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.9588, allocations: 0 / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003965/0.9592, allocations: 113.4 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.9593, allocations: 55.41 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.9593, allocations: 110.1 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.9593, allocations: 28.61 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.9594, allocations: 87.61 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.9594, allocations: 18.66 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.9594, allocations: 12.47 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.9595, allocations: 324.9 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/0.9596, allocations: 26.53 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.9596, allocations: 25.27 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.9598, allocations: 50.16 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9598, allocations: 0 / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002209/0.96, allocations: 91.45 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.9601, allocations: 9.75 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.9601, allocations: 0 / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.9601, allocations: 3.938 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.9602, allocations: 16.27 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9602, allocations: 0 / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.977e-05/0.9603, allocations: 7.016 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.9603, allocations: 10.03 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.294e-05/0.9603, allocations: 116.8 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.9604, allocations: 0 / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.9604, allocations: 10.47 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.9604, allocations: 0 / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.9604, allocations: 0 / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.9604, allocations: 0 / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.9605, allocations: 180 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9605, allocations: 2.125 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.9606, allocations: 15.61 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9606, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.9606, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9606, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9606, allocations: 10.16 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.9609, allocations: 179.6 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.9609, allocations: 80.05 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.9609, allocations: 3.328 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.961, allocations: 6.422 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.961, allocations: 13.22 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.961, allocations: 4 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.645e-05/0.9611, allocations: 85.12 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9611, allocations: 0 / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002172/0.9613, allocations: 10 kB / 1.326 GB, free: 21.37 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: 2 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001004/0.9614, allocations: 111.2 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.9616, allocations: 53.56 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9616, allocations: 4 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.9617, allocations: 27.5 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.962, allocations: 6.844 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.9623, allocations: 160.7 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.9624, allocations: 0.6874 MB / 1.327 GB, free: 20.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.9625, allocations: 10.22 kB / 1.327 GB, free: 20.39 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9625, allocations: 4 kB / 1.327 GB, free: 20.39 MB / 1.061 GB Notification: Performance of Templates: time 0.001998/0.9645, allocations: 0.8144 MB / 1.328 GB, free: 20.34 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.353721565988963]