Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 106.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.425/2.425, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7659, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.001899/0.7679, allocations: 0.8702 MB / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.7689, allocations: 0.8974 MB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.218e-05/0.769, allocations: 4 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.7691, allocations: 11.81 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.7692, allocations: 11.88 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.7694, allocations: 47.89 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.7695, allocations: 95.7 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.7696, allocations: 51.95 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.7698, allocations: 35.86 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.7698, allocations: 39.84 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.7699, allocations: 8 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.7699, allocations: 4 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.7699, allocations: 23.91 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.77, allocations: 39.73 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.7701, allocations: 103.6 kB / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7701, allocations: 0 / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7701, allocations: 4 kB / 1.17 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.7701, allocations: 0 / 1.17 GB, free: 1.605 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006429/0.7708, allocations: 412.8 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.7708, allocations: 8.625 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.7709, allocations: 12.84 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.7712, allocations: 204.1 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.7713, allocations: 4.375 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.7713, allocations: 8.359 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.7715, allocations: 94.14 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7716, allocations: 192 / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.7716, allocations: 7.938 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.7716, allocations: 0 / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.7718, allocations: 75.89 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.7724, allocations: 348.6 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.7727, allocations: 66.53 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.7728, allocations: 36.92 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.7728, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.7729, allocations: 42.48 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.7729, allocations: 0 / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004377/0.7733, allocations: 117.5 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.7734, allocations: 55.41 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.7735, allocations: 144 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.7735, allocations: 25.7 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.7736, allocations: 108 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.7736, allocations: 7.906 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.7737, allocations: 21.7 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.7738, allocations: 314.8 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.7739, allocations: 31.97 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.774, allocations: 31.97 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.7742, allocations: 60.75 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7742, allocations: 3.938 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002566/0.7745, allocations: 97.55 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.7745, allocations: 8 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.7745, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.7745, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.7746, allocations: 11.98 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.7747, allocations: 3.938 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.7748, allocations: 19.97 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.7748, allocations: 4 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.598e-05/0.7749, allocations: 125.7 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.7749, allocations: 7.906 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.7749, allocations: 8.25 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.7749, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.775, allocations: 3.938 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.775, allocations: 7.984 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.7751, allocations: 181.8 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.7752, allocations: 4 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.342e-05/0.7752, allocations: 15.98 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7753, allocations: 4 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.7753, allocations: 3.984 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7753, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7753, allocations: 3.938 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.7756, allocations: 183.4 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.7756, allocations: 89.02 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.7757, allocations: 3.938 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.7758, allocations: 19.97 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.7759, allocations: 19.86 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.7759, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.651e-05/0.7759, allocations: 97.61 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7759, allocations: 0 / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002325/0.7762, allocations: 16 kB / 1.173 GB, free: 14.16 MB / 0.9044 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * 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.0001388/0.7763, allocations: 107.2 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.7766, allocations: 59.95 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7766, allocations: 0 / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.7767, allocations: 39.91 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.777, allocations: 15.98 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.7775, allocations: 222.6 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.7777, allocations: 0.6924 MB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.7778, allocations: 15.44 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.7778, allocations: 0 / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of Templates: time 0.002485/0.7803, allocations: 1.133 MB / 1.175 GB, free: 11.83 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches