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.008531/0.008531, allocations: 94.86 kB / 15.73 MB, free: 6.039 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.001618/0.001618, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.802/2.802, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.89 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3749, allocations: 151.6 MB / 1.167 GB, free: 6.742 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002093/0.3771, allocations: 0.8683 MB / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3782, allocations: 0.8935 MB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.3783, allocations: 0 / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.3785, allocations: 15.81 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.563e-05/0.3786, allocations: 15.86 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.3788, allocations: 35.95 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.3789, allocations: 107.7 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3791, allocations: 35.98 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.3792, allocations: 47.78 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.685e-05/0.3793, allocations: 43.77 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.3794, allocations: 11.94 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.3794, allocations: 8 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.3794, allocations: 19.92 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.3795, allocations: 31.81 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.3797, allocations: 103.5 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3797, allocations: 4 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3797, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3797, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 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.000657/0.3804, allocations: 415 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3804, allocations: 12.03 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.3805, allocations: 8.891 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.3807, allocations: 214.1 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3808, allocations: 8.375 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3808, allocations: 4.375 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.381, allocations: 89.7 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.381, allocations: 192 / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3811, allocations: 15.88 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3811, allocations: 0 / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.3813, allocations: 71.94 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.3818, allocations: 344.6 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.3821, allocations: 66.48 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3822, allocations: 40.92 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.3822, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3822, allocations: 34.56 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3823, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004429/0.3827, allocations: 121.6 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.3827, allocations: 55.34 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3829, allocations: 137.7 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3829, allocations: 25.7 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.383, allocations: 112 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.383, allocations: 3.953 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.383, allocations: 21.7 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3831, allocations: 318.8 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3833, allocations: 31.97 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3834, allocations: 31.97 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3836, allocations: 52.81 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3836, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002498/0.3838, allocations: 101.6 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3839, allocations: 5.562 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3839, allocations: 3.938 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3839, allocations: 4 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.384, allocations: 11.98 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.384, allocations: 7.875 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.807e-05/0.3841, allocations: 23.92 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3841, allocations: 4 kB / 1.171 GB, free: 1.926 MB / 0.92 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.708e-05/0.3842, allocations: 118 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.3843, allocations: 4 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.3843, allocations: 16.42 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3843, allocations: 3.984 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3843, allocations: 3.938 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3843, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3845, allocations: 201.5 kB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3845, allocations: 3.938 kB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.3846, allocations: 15.98 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3846, allocations: 0 / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3847, allocations: 0 / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3847, allocations: 4 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3847, allocations: 3.938 kB / 1.171 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.385, allocations: 191.4 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.385, allocations: 81.11 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.385, allocations: 3.984 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.3852, allocations: 11.98 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.3852, allocations: 15.92 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.3852, allocations: 0 / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.707e-05/0.3853, allocations: 105.1 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3853, allocations: 0 / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002219/0.3855, allocations: 15.95 kB / 1.172 GB, free: 1.043 MB / 0.92 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.0001509/0.3857, allocations: 103.2 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.386, allocations: 71.88 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.386, allocations: 0 / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3861, allocations: 35.97 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.3864, allocations: 8 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.3868, allocations: 186.7 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.3871, allocations: 0.6963 MB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.3871, allocations: 4 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.3872, allocations: 15.44 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of SimCode: time 2.535e-06/0.3872, allocations: 0 / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of Templates: time 0.003433/0.3906, allocations: 1.025 MB / 1.174 GB, free: 14.85 MB / 0.9356 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/jenkins/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