Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7761/0.7777, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002355/0.7801, allocations: 0.7664 MB / 0.9505 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.781, allocations: 0.8596 MB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.7811, allocations: 5.469 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.7812, allocations: 7.875 kB / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.925e-05/0.7813, allocations: 17.41 kB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.7814, allocations: 34.38 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.7815, allocations: 82.55 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.7817, allocations: 31.09 kB / 0.9515 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.948e-05/0.7818, allocations: 36.38 kB / 0.9515 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.7818, allocations: 52.81 kB / 0.9516 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.7819, allocations: 8.125 kB / 0.9516 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.983e-05/0.7819, allocations: 7.469 kB / 0.9516 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.7819, allocations: 18.89 kB / 0.9516 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.782, allocations: 34.3 kB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.7821, allocations: 82.72 kB / 0.9517 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7821, allocations: 1.125 kB / 0.9517 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7821, allocations: 0 / 0.9517 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.7821, allocations: 4 kB / 0.9517 GB, free: 7.645 MB / 0.7169 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.0006064/0.7827, allocations: 395.9 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.7828, allocations: 9.531 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.7828, allocations: 44.14 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.7829, allocations: 8.938 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.783, allocations: 184.6 kB / 0.9523 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.783, allocations: 7.594 kB / 0.9523 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.783, allocations: 3.75 kB / 0.9523 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.7833, allocations: 109.3 kB / 0.9525 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7834, allocations: 0 / 0.9525 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.7834, allocations: 3.984 kB / 0.9525 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.7834, allocations: 6.797 kB / 0.9525 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.7838, allocations: 98.88 kB / 0.9526 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.7843, allocations: 353.7 kB / 0.9529 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.7849, allocations: 122.2 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.7851, allocations: 54.25 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.7851, allocations: 5.234 kB / 0.9531 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.7851, allocations: 31.78 kB / 0.9531 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.7851, allocations: 0 / 0.9531 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006928/0.7858, allocations: 183.9 kB / 0.9533 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.7859, allocations: 52.5 kB / 0.9533 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.786, allocations: 128.5 kB / 0.9534 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.786, allocations: 26.64 kB / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.786, allocations: 99.7 kB / 0.9536 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.7861, allocations: 22.03 kB / 0.9536 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.7861, allocations: 27.67 kB / 0.9536 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.7862, allocations: 321.4 kB / 0.9539 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.7864, allocations: 42.86 kB / 0.954 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.7866, allocations: 45.55 kB / 0.954 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.7869, allocations: 100.3 kB / 0.9541 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7869, allocations: 0 / 0.9541 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004055/0.7873, allocations: 131.3 kB / 0.9542 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.7874, allocations: 9.531 kB / 0.9542 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.7874, allocations: 0 / 0.9542 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.7874, allocations: 13.25 kB / 0.9542 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.7876, allocations: 26.5 kB / 0.9543 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.7876, allocations: 0 / 0.9543 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.7877, allocations: 17.2 kB / 0.9543 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.7877, allocations: 5.547 kB / 0.9543 GB, free: 5.34 MB / 0.7169 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 (reaToInt1.y,reaToInt.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.7878, allocations: 113.9 kB / 0.9544 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.7878, allocations: 6.75 kB / 0.9544 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.7879, allocations: 13.53 kB / 0.9544 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.7879, allocations: 0.9688 kB / 0.9544 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7879, allocations: 0.9688 kB / 0.9544 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.7879, allocations: 7.922 kB / 0.9544 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.7881, allocations: 192 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7881, allocations: 0 / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.7882, allocations: 26.72 kB / 0.9546 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7882, allocations: 1.188 kB / 0.9546 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.7883, allocations: 5.016 kB / 0.9546 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7883, allocations: 5.156 kB / 0.9547 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7883, allocations: 4 kB / 0.9547 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.7887, allocations: 235.2 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.7887, allocations: 78.39 kB / 0.955 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.7888, allocations: 1.594 kB / 0.955 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.7889, allocations: 18.98 kB / 0.955 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.789, allocations: 28.16 kB / 0.955 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.789, allocations: 1.625 kB / 0.955 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.7891, allocations: 93.05 kB / 0.9551 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7891, allocations: 0 / 0.9551 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002285/0.7893, allocations: 20.38 kB / 0.9551 GB, free: 4.555 MB / 0.7169 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.y,reaToInt.y,reaToInt1.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 (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.0006026/0.7899, allocations: 0.7639 MB / 0.9559 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.7903, allocations: 109.7 kB / 0.956 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7903, allocations: 7.938 kB / 0.956 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.7905, allocations: 64.42 kB / 0.956 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.7909, allocations: 21.48 kB / 0.956 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.7928, allocations: 1.521 MB / 0.9575 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.793, allocations: 0.6973 MB / 0.9582 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.424e-05/0.793, allocations: 6.344 kB / 0.9582 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.7931, allocations: 34.73 kB / 0.9583 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.7931, allocations: 4 kB / 0.9583 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.8131, allocations: 2.657 MB / 0.9609 GB, free: 232 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/8.445, allocations: 13.08 kB / 0.9609 GB, free: 224 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Greater.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches