Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001724/0.001724, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001664/0.001664, allocations: 161.6 kB / 23.55 MB, free: 0.8945 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.489/1.489, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.842/2.842, allocations: 377.8 MB / 0.6232 GB, free: 8.551 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.715e-05, allocations: 3.406 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001955/0.001982, allocations: 0.7031 MB / 0.8115 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003287, allocations: 0.8631 MB / 0.8124 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.003329, allocations: 0 / 0.8124 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.003365, allocations: 8.891 kB / 0.8124 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.003441, allocations: 3.938 kB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.003594, allocations: 20.8 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.725e-05/0.003691, allocations: 51.89 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.003783, allocations: 12.44 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.439e-05/0.003878, allocations: 27.97 kB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.045e-05/0.003948, allocations: 25.5 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.003972, allocations: 4 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.003984, allocations: 4 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.004007, allocations: 11.98 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.004047, allocations: 4.906 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.004168, allocations: 55.84 kB / 0.8126 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004171, allocations: 0.7812 kB / 0.8126 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.92e-07/0.004171, allocations: 0 / 0.8126 GB, free: 328 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.748e-06/0.004175, allocations: 1.688 kB / 0.8126 GB, free: 328 kB / 0.7605 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.0005759/0.004751, allocations: 278.2 kB / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.004792, allocations: 12.03 kB / 0.8129 GB, free: 8 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.004842, allocations: 8.875 kB / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.004996, allocations: 115.3 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.005015, allocations: 4.375 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.005026, allocations: 384 / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.005257, allocations: 70.94 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.005268, allocations: 3.938 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.005279, allocations: 1.156 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005283, allocations: 0 / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.005523, allocations: 53.33 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.006009, allocations: 236.4 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.00625, allocations: 76.19 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.006369, allocations: 24.88 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.006388, allocations: 0 / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.006426, allocations: 34.56 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.006427, allocations: 0.75 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0004942/0.006921, allocations: 110.9 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.006971, allocations: 55.39 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.007095, allocations: 114.3 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.007118, allocations: 26.27 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.007191, allocations: 92.08 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.007212, allocations: 9.328 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.007261, allocations: 17.7 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.007443, allocations: 318.8 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.00756, allocations: 22.55 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.007668, allocations: 23.97 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.007898, allocations: 52.81 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.007903, allocations: 3.938 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002906/0.008193, allocations: 94.78 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.008217, allocations: 4.531 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.008222, allocations: 0 / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.008239, allocations: 1.656 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.008366, allocations: 11.98 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.008371, allocations: 0 / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/0.008462, allocations: 12.52 kB / 0.8144 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.008469, allocations: 0 / 0.8144 GB, free: 14.31 MB / 0.7761 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,intGreThr.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.0001144/0.008583, allocations: 118.4 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.008616, allocations: 4.641 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.008644, allocations: 12 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.008646, allocations: 1.062 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.00865, allocations: 0 / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.008659, allocations: 7.984 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.008845, allocations: 110.5 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.008848, allocations: 3.938 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.008958, allocations: 24.7 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.00896, allocations: 0 / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.008968, allocations: 6.219 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.00897, allocations: 0 / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008971, allocations: 0 / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.009324, allocations: 175.8 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.009343, allocations: 11.89 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.009358, allocations: 2.781 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.009475, allocations: 8.031 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.009547, allocations: 15.97 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.009556, allocations: 4 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.009628, allocations: 91.25 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009628, allocations: 0 / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002541/0.009882, allocations: 11.94 kB / 0.815 GB, free: 13.67 MB / 0.7761 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 (intGreThr.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.0001331/0.01002, allocations: 100.8 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002847/0.0103, allocations: 56.5 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0103, allocations: 0.7188 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.01044, allocations: 33.81 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.01078, allocations: 9.828 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.01119, allocations: 132.6 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.816e-05/0.01126, allocations: 68.55 kB / 0.8154 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.7e-05/0.01131, allocations: 5.094 kB / 0.8154 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.01136, allocations: 12.5 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01136, allocations: 0.6562 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.003917/0.01528, allocations: 0.9641 MB / 0.8163 GB, free: 12.28 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.892050491995178]