Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.698/1.698, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009227/0.0009227, allocations: 177.3 kB / 490.8 MB, free: 1.949 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.079/1.079, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007974/0.0007975, allocations: 100.6 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.072e-06/6.172e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1657, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4457/0.6114, allocations: 149.1 MB / 1.357 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/0.6116, allocations: 67.91 kB / 1.357 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.003813/0.6154, allocations: 1.144 MB / 1.358 GB, free: 17.28 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.6155, allocations: 6.062 kB / 1.358 GB, free: 17.27 MB / 0.823 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.0004385/0.6159, allocations: 391.2 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.6159, allocations: 9.516 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.616, allocations: 8.25 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.251e-05/0.6161, allocations: 174.7 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.6161, allocations: 1.969 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.6161, allocations: 3.562 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001124/0.6162, allocations: 50.95 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.6164, allocations: 72.48 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.6164, allocations: 1.094 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.6164, allocations: 0 / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.6164, allocations: 1.375 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.6168, allocations: 324.5 kB / 1.359 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.6172, allocations: 88.06 kB / 1.359 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.6172, allocations: 29.84 kB / 1.36 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.6173, allocations: 3.938 kB / 1.36 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.408e-06/0.6173, allocations: 35.09 kB / 1.36 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.6173, allocations: 1.219 kB / 1.36 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001849/0.6175, allocations: 85.22 kB / 1.36 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.38e-05/0.6175, allocations: 61.19 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.6176, allocations: 107.6 kB / 1.36 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.6176, allocations: 29.64 kB / 1.36 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.6176, allocations: 92.92 kB / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.6176, allocations: 22.2 kB / 1.36 GB, free: 32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.6177, allocations: 1.125 kB / 1.36 GB, free: 32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.6177, allocations: 318 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.865e-05/0.6178, allocations: 18.19 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.6178, allocations: 25.23 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.6179, allocations: 15.89 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6179, allocations: 1.062 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001253/0.618, allocations: 80.02 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.618, allocations: 4.531 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.618, allocations: 1.688 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.618, allocations: 0 / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.6182, allocations: 40.53 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.6182, allocations: 1.938 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.6184, allocations: 23.86 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.6184, allocations: 3.625 kB / 1.36 GB, free: 31.64 MB / 0.8386 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 () * 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 5.267e-05/0.6184, allocations: 106.3 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.6185, allocations: 8.141 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.6185, allocations: 10.09 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.6185, allocations: 2.016 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6185, allocations: 3 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6185, allocations: 0.5625 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.6186, allocations: 176 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6187, allocations: 7.938 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.6188, allocations: 29.7 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6188, allocations: 1.25 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.6188, allocations: 2.047 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.6188, allocations: 0 / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6189, allocations: 5.547 kB / 1.361 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001482/0.619, allocations: 179.5 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.619, allocations: 84.27 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.6191, allocations: 1.844 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.6192, allocations: 23.64 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.6193, allocations: 20.06 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.6193, allocations: 3.703 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.165e-05/0.6194, allocations: 97.03 kB / 1.361 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002086/0.6196, allocations: 18.17 kB / 1.361 GB, free: 31.03 MB / 0.8386 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 () * 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 8.968e-05/0.6197, allocations: 103.5 kB / 1.361 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.6198, allocations: 63.08 kB / 1.361 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.6198, allocations: 0 / 1.361 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/0.6199, allocations: 38.45 kB / 1.361 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.62, allocations: 7.703 kB / 1.361 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.6203, allocations: 113.1 kB / 1.362 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.6206, allocations: 0.7193 MB / 1.362 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.6206, allocations: 4 kB / 1.362 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.003017/0.6236, allocations: 1.382 MB / 1.364 GB, free: 30.05 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches