Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 175 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009236/0.000924, allocations: 87.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 12.34 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2451, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.4176, allocations: 131.8 MB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4179, allocations: 71.95 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004427/0.4223, allocations: 1.473 MB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4224, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.4224, allocations: 4 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005587/0.4229, allocations: 387.1 kB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.423, allocations: 12.02 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.4231, allocations: 7.906 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.4232, allocations: 182.8 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.4233, allocations: 8 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.4233, allocations: 11.94 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.4236, allocations: 111.1 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.4236, allocations: 0 / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.4236, allocations: 4 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4237, allocations: 4 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.424, allocations: 115.9 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.4246, allocations: 352.6 kB / 1.031 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.4252, allocations: 130.6 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.4252, allocations: 3.938 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.4252, allocations: 38.56 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4252, allocations: 0 / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006445/0.4259, allocations: 213.4 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.4259, allocations: 59.36 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.426, allocations: 109 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.4261, allocations: 29.7 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.4261, allocations: 96.06 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.4262, allocations: 15.72 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.4262, allocations: 8 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4263, allocations: 318.8 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.4265, allocations: 51.95 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.4267, allocations: 68.03 kB / 1.033 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.4268, allocations: 55.89 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4268, allocations: 4 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003784/0.4272, allocations: 153.5 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4272, allocations: 8 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4273, allocations: 0 / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4273, allocations: 0 / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.4275, allocations: 27.97 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.4275, allocations: 7.953 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.4276, allocations: 23.97 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.4276, allocations: 4 kB / 1.033 GB, free: 7.629 MB / 0.6823 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 (intGre.u1,intGre.u2,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.189e-05/0.4277, allocations: 117.8 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.4278, allocations: 7.906 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.4278, allocations: 16.36 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4278, allocations: 0 / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4278, allocations: 0 / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4278, allocations: 3.953 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.428, allocations: 201.6 kB / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.428, allocations: 4 kB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4282, allocations: 27.97 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4282, allocations: 3.938 kB / 1.033 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4282, allocations: 0 / 1.033 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4282, allocations: 4 kB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4282, allocations: 0 / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.4287, allocations: 259.2 kB / 1.033 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.4287, allocations: 85.05 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.4288, allocations: 4 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4289, allocations: 19.97 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.429, allocations: 19.97 kB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.429, allocations: 8 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.4291, allocations: 95.2 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4291, allocations: 4 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002253/0.4293, allocations: 19.91 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intGre.u1,intGre.u2,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001691/0.4295, allocations: 99.92 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004275/0.4299, allocations: 127.9 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4299, allocations: 0 / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.4302, allocations: 75.89 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.4304, allocations: 16.7 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.4308, allocations: 178.5 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.4311, allocations: 0.7004 MB / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.926e-05/0.4312, allocations: 8.188 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.4312, allocations: 19.42 kB / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.4313, allocations: 0 / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of Templates: time 0.003431/0.4347, allocations: 1.314 MB / 1.036 GB, free: 4.066 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches