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.002511/0.002511, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002757/0.002757, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.71/1.71, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.042/3.042, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8108 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.947e-05, allocations: 2.969 kB / 0.8108 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.00191/0.00194, allocations: 0.6988 MB / 0.8115 GB, free: 244 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003133, allocations: 0.862 MB / 0.8123 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.003174, allocations: 0 / 0.8123 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.003201, allocations: 3.938 kB / 0.8123 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.222e-05/0.003284, allocations: 6.766 kB / 0.8124 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.003466, allocations: 27.97 kB / 0.8124 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.00357, allocations: 42.75 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.003674, allocations: 15.92 kB / 0.8124 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.00378, allocations: 31.86 kB / 0.8125 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.003845, allocations: 19.97 kB / 0.8125 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.00387, allocations: 5.25 kB / 0.8125 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/0.003888, allocations: 4 kB / 0.8125 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.003913, allocations: 15.92 kB / 0.8125 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.003943, allocations: 14.05 kB / 0.8125 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.004072, allocations: 51.78 kB / 0.8126 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004074, allocations: 0 / 0.8126 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.22e-07/0.004075, allocations: 0 / 0.8126 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004079, allocations: 0 / 0.8126 GB, free: 15.14 MB / 0.7292 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.0006136/0.004693, allocations: 380.7 kB / 0.8129 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.004735, allocations: 8.031 kB / 0.8129 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.004789, allocations: 9.859 kB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.004937, allocations: 116.6 kB / 0.8131 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.004953, allocations: 5.375 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.004966, allocations: 4.375 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.005147, allocations: 66.2 kB / 0.8131 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.005159, allocations: 5.344 kB / 0.8131 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.00517, allocations: 0 / 0.8131 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005177, allocations: 4 kB / 0.8131 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.005335, allocations: 36.84 kB / 0.8132 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.005826, allocations: 287.7 kB / 0.8135 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.006016, allocations: 72 kB / 0.8135 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/0.006102, allocations: 27.75 kB / 0.8136 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.006121, allocations: 0.5312 kB / 0.8136 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.006159, allocations: 41.95 kB / 0.8136 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.006161, allocations: 1.25 kB / 0.8136 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0003614/0.006522, allocations: 89.59 kB / 0.8137 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.006567, allocations: 51.41 kB / 0.8137 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.006704, allocations: 176.6 kB / 0.8139 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.006723, allocations: 25.7 kB / 0.8139 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.006881, allocations: 142.8 kB / 0.8141 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.006903, allocations: 11.89 kB / 0.8141 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.006958, allocations: 27.38 kB / 0.8141 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002465/0.007204, allocations: 496.1 kB / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/0.007282, allocations: 20.52 kB / 0.8146 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.676e-05/0.007349, allocations: 17.31 kB / 0.8146 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.007486, allocations: 43.66 kB / 0.8146 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.007491, allocations: 3.938 kB / 0.8146 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002011/0.007692, allocations: 82.97 kB / 0.8147 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.007705, allocations: 4 kB / 0.8147 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.007709, allocations: 0 / 0.8147 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.007724, allocations: 4.812 kB / 0.8147 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.007822, allocations: 7.984 kB / 0.8147 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.007829, allocations: 4.594 kB / 0.8147 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.007884, allocations: 5.375 kB / 0.8148 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.007892, allocations: 0 / 0.8148 GB, free: 12.72 MB / 0.7292 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 0.0001214/0.008013, allocations: 164.5 kB / 0.8149 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.008042, allocations: 5.156 kB / 0.8149 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.008075, allocations: 11.98 kB / 0.8149 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.008076, allocations: 0 / 0.8149 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.00808, allocations: 0.7812 kB / 0.8149 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.008085, allocations: 4 kB / 0.8149 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.008268, allocations: 129.2 kB / 0.8151 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.008274, allocations: 7.938 kB / 0.8151 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-05/0.008355, allocations: 20.64 kB / 0.8151 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008357, allocations: 0 / 0.8151 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.008365, allocations: 1.219 kB / 0.8151 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008366, allocations: 3.938 kB / 0.8151 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008367, allocations: 0 / 0.8151 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.008655, allocations: 217.8 kB / 0.8153 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.008674, allocations: 15.88 kB / 0.8153 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.008692, allocations: 4 kB / 0.8153 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.008772, allocations: 1 kB / 0.8153 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.00884, allocations: 16.02 kB / 0.8153 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.008848, allocations: 4 kB / 0.8153 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.357e-05/0.008931, allocations: 134.5 kB / 0.8155 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.008932, allocations: 0 / 0.8155 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002244/0.009156, allocations: 8 kB / 0.8155 GB, free: 11.93 MB / 0.7292 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.0001339/0.00929, allocations: 99.19 kB / 0.8156 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.009523, allocations: 55.66 kB / 0.8156 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.009524, allocations: 0 / 0.8156 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.009625, allocations: 32.17 kB / 0.8156 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.009893, allocations: 15.73 kB / 0.8157 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.01029, allocations: 142.1 kB / 0.8158 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.144e-05/0.01036, allocations: 67.28 kB / 0.8159 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.904e-05/0.01041, allocations: 10.83 kB / 0.8159 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.01046, allocations: 12.5 kB / 0.8159 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/0.01046, allocations: 0 / 0.8159 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.004019/0.01448, allocations: 0.9686 MB / 0.8168 GB, free: 10.52 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.242211911012419]