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.001495/0.001495, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.001552/0.001552, allocations: 161.7 kB / 23.55 MB, free: 0.8594 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.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.582 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 2.981/2.981, allocations: 377.8 MB / 0.6232 GB, free: 8.523 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.795e-06/2.795e-06, allocations: 0 / 0.8108 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.265e-05/3.545e-05, allocations: 3.219 kB / 0.8108 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002673/0.002709, allocations: 0.7065 MB / 0.8115 GB, free: 276 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.004078, allocations: 0.8578 MB / 0.8123 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.004128, allocations: 0 / 0.8123 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.004162, allocations: 4.688 kB / 0.8123 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.57e-05/0.004248, allocations: 1.531 kB / 0.8123 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.004443, allocations: 33.75 kB / 0.8124 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.004545, allocations: 40.62 kB / 0.8124 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.004663, allocations: 15.92 kB / 0.8124 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.004768, allocations: 29.67 kB / 0.8125 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.00484, allocations: 23.89 kB / 0.8125 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.004864, allocations: 4 kB / 0.8125 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.004878, allocations: 4 kB / 0.8125 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.0049, allocations: 9.531 kB / 0.8125 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.004939, allocations: 15.92 kB / 0.8125 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.005062, allocations: 43.91 kB / 0.8126 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005065, allocations: 0 / 0.8126 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.01e-07/0.005066, allocations: 1.594 kB / 0.8126 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.00507, allocations: 0 / 0.8126 GB, free: 15.19 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.0006016/0.005671, allocations: 286.2 kB / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.005715, allocations: 8.031 kB / 0.8128 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.005767, allocations: 9.922 kB / 0.8128 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.005916, allocations: 109.7 kB / 0.8129 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.005937, allocations: 9.156 kB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.005949, allocations: 384 / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.006184, allocations: 70.8 kB / 0.813 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.006196, allocations: 8.703 kB / 0.813 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.006208, allocations: 0 / 0.813 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.006213, allocations: 1.156 kB / 0.813 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.006441, allocations: 59.83 kB / 0.8131 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.006921, allocations: 225.9 kB / 0.8133 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.007154, allocations: 62.47 kB / 0.8134 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.007272, allocations: 34.67 kB / 0.8134 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.00729, allocations: 0 / 0.8134 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.007333, allocations: 38.48 kB / 0.8134 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.007334, allocations: 0 / 0.8134 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0004678/0.007802, allocations: 111.3 kB / 0.8135 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.007851, allocations: 55.91 kB / 0.8136 GB, free: 14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.007966, allocations: 109.8 kB / 0.8137 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.007994, allocations: 27.14 kB / 0.8137 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.008062, allocations: 92.09 kB / 0.8138 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.008085, allocations: 7.891 kB / 0.8138 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.008134, allocations: 24.3 kB / 0.8138 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.008311, allocations: 318.8 kB / 0.8141 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.00843, allocations: 23.97 kB / 0.8142 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.008527, allocations: 19.98 kB / 0.8142 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.008731, allocations: 53.28 kB / 0.8142 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.008738, allocations: 4.656 kB / 0.8142 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002742/0.009012, allocations: 90.12 kB / 0.8143 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.009033, allocations: 11.84 kB / 0.8143 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.009038, allocations: 0 / 0.8143 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.009056, allocations: 0 / 0.8143 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.00918, allocations: 11.98 kB / 0.8144 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.009185, allocations: 0.5 kB / 0.8144 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.009263, allocations: 9.078 kB / 0.8144 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.009271, allocations: 0 / 0.8144 GB, free: 13.18 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.0001239/0.009395, allocations: 122.6 kB / 0.8145 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.009427, allocations: 4 kB / 0.8145 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.009458, allocations: 11.98 kB / 0.8145 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.00946, allocations: 0.8438 kB / 0.8145 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.009464, allocations: 0 / 0.8145 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.00947, allocations: 6.219 kB / 0.8145 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.009655, allocations: 121.3 kB / 0.8146 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.009659, allocations: 3.938 kB / 0.8146 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.009751, allocations: 11.98 kB / 0.8146 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009753, allocations: 0 / 0.8146 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.009762, allocations: 0 / 0.8146 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.009772, allocations: 6.75 kB / 0.8146 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.009773, allocations: 0 / 0.8146 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.01012, allocations: 183.4 kB / 0.8148 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.01014, allocations: 11.89 kB / 0.8148 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.01016, allocations: 4 kB / 0.8148 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.01026, allocations: 9.484 kB / 0.8148 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.01033, allocations: 11.98 kB / 0.8149 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.01034, allocations: 0 / 0.8149 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.477e-05/0.0104, allocations: 87.27 kB / 0.8149 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.0104, allocations: 4.5 kB / 0.8149 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000227/0.01063, allocations: 5.094 kB / 0.8149 GB, free: 12.54 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.0001293/0.01076, allocations: 95.25 kB / 0.815 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.01103, allocations: 62.72 kB / 0.8151 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01103, allocations: 0 / 0.8151 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.01116, allocations: 35.91 kB / 0.8151 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.01148, allocations: 11.16 kB / 0.8151 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.01189, allocations: 144.4 kB / 0.8153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.379e-05/0.01198, allocations: 68.28 kB / 0.8153 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.627e-05/0.01202, allocations: 8.594 kB / 0.8154 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.01208, allocations: 12.5 kB / 0.8154 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.01208, allocations: 0 / 0.8154 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.003956/0.01603, allocations: 0.9634 MB / 0.8163 GB, free: 11.13 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=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/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: 7.873968953965232]