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.002635/0.002635, allocations: 83.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.003412/0.003412, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.61/1.61, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.105/3.105, allocations: 377.8 MB / 0.6232 GB, free: 8.535 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.994e-06/1.994e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.979e-05, allocations: 6.672 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.001882/0.001912, allocations: 0.7103 MB / 0.8115 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.003124, allocations: 0.8626 MB / 0.8124 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.003161, allocations: 0.6562 kB / 0.8124 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.003186, allocations: 3.938 kB / 0.8124 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.147e-05/0.003268, allocations: 8.531 kB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.00342, allocations: 28.88 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.964e-05/0.003509, allocations: 39.91 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.003603, allocations: 12.77 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.145e-05/0.003694, allocations: 27.92 kB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.003757, allocations: 30.3 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.00378, allocations: 4 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.003793, allocations: 4 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.003816, allocations: 11.94 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.003846, allocations: 11.98 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.003956, allocations: 47.84 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003958, allocations: 0 / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003959, allocations: 1.031 kB / 0.8126 GB, free: 324 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003963, allocations: 0 / 0.8126 GB, free: 324 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.0005961/0.004559, allocations: 381.1 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.004596, allocations: 8.031 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.004642, allocations: 8.891 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.004776, allocations: 114 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.004792, allocations: 4.359 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.00481, allocations: 8.312 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.004982, allocations: 63.81 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.004993, allocations: 3.938 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.005002, allocations: 0 / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.005007, allocations: 0 / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.005166, allocations: 41.66 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.00564, allocations: 283.7 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.005831, allocations: 74.91 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/0.005914, allocations: 24.62 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.005932, allocations: 0 / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.005968, allocations: 41.95 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.005968, allocations: 0 / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003607/0.006329, allocations: 90.77 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.006376, allocations: 55.39 kB / 0.8137 GB, free: 15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.006519, allocations: 175.2 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.006543, allocations: 29.7 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.006635, allocations: 134.8 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.006657, allocations: 8.484 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.006712, allocations: 32.73 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002606/0.006972, allocations: 492.1 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.043e-05/0.007053, allocations: 19.98 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.007122, allocations: 25.08 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.007272, allocations: 43.67 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.007276, allocations: 3.938 kB / 0.8147 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000207/0.007483, allocations: 78.98 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.007495, allocations: 4 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.007501, allocations: 4.828 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.007515, allocations: 4 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.739e-05/0.007612, allocations: 8.828 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.007617, allocations: 0 / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.007673, allocations: 5.281 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.00768, allocations: 320 / 0.8148 GB, free: 13.9 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.0001267/0.007807, allocations: 168.5 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.00784, allocations: 8.797 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.007865, allocations: 8 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.007867, allocations: 1.188 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.007869, allocations: 0 / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.007876, allocations: 4 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.008273, allocations: 128.7 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.00828, allocations: 9.281 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/0.008357, allocations: 11.98 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008358, allocations: 0 / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.008367, allocations: 1.531 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.008371, allocations: 3.938 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.008372, allocations: 0 / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.008667, allocations: 226.7 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.00868, allocations: 7.891 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.008701, allocations: 4 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.008782, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.008842, allocations: 11.98 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.008852, allocations: 7.984 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.631e-05/0.008938, allocations: 131.2 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.008939, allocations: 0 / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002268/0.009165, allocations: 8.5 kB / 0.8155 GB, free: 13.12 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.0001266/0.009292, allocations: 101.7 kB / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.009504, allocations: 59.59 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.009506, allocations: 0 / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.009607, allocations: 39.59 kB / 0.8157 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.009847, allocations: 8.844 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.01022, allocations: 138.3 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.271e-05/0.0103, allocations: 72.45 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.343e-05/0.01035, allocations: 6.812 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.0104, allocations: 12.5 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.0104, allocations: 3.938 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of Templates: time 0.003993/0.01439, allocations: 0.9628 MB / 0.8168 GB, free: 11.7 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] 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: 8.23016594699584]