Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual.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.Continuous.Validation.GreaterEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEqu.y|greEqu.u2|greEqu.u1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEqu.y|greEqu.u2|greEqu.u1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual") [: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 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 249.4 MB / 256.7 MB, free: 7.699 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 177.2 kB / 316 MB, free: 7.914 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 0.5667 GB, free: 3.328 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 88.11 kB / 0.671 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 1.059e-05/1.062e-05, allocations: 4 kB / 0.7807 GB, free: 106.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2083, allocations: 106.3 MB / 0.8846 GB, free: 348 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5504/0.7588, allocations: 131.5 MB / 1.013 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.7591, allocations: 68.2 kB / 1.013 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.002202/0.7613, allocations: 0.5604 MB / 1.014 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.7613, allocations: 4 kB / 1.014 GB, free: 12.7 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004514/0.7618, allocations: 373.2 kB / 1.014 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.7618, allocations: 8.031 kB / 1.014 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.7619, allocations: 3.906 kB / 1.014 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.762, allocations: 163.1 kB / 1.014 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.762, allocations: 4 kB / 1.014 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.762, allocations: 4 kB / 1.014 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.252e-05/0.7621, allocations: 18.53 kB / 1.014 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.671e-05/0.7622, allocations: 41.38 kB / 1.014 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.7622, allocations: 3.938 kB / 1.014 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.7622, allocations: 0 / 1.014 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.7623, allocations: 0 / 1.014 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.7627, allocations: 288.5 kB / 1.015 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.896e-05/0.7628, allocations: 33.56 kB / 1.015 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.7629, allocations: 15.8 kB / 1.015 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.7629, allocations: 0 / 1.015 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.7629, allocations: 34.5 kB / 1.015 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.7629, allocations: 0 / 1.015 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0001634/0.7631, allocations: 48.98 kB / 1.015 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.7631, allocations: 55.41 kB / 1.015 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.7632, allocations: 104.1 kB / 1.015 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.7632, allocations: 25.7 kB / 1.015 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.7632, allocations: 92.02 kB / 1.015 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.7633, allocations: 3.906 kB / 1.015 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.7633, allocations: 0 / 1.015 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.7634, allocations: 318.3 kB / 1.015 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.7634, allocations: 8.75 kB / 1.015 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.7634, allocations: 11.38 kB / 1.015 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.911e-05/0.7634, allocations: 7.938 kB / 1.015 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.7635, allocations: 0 / 1.015 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.748e-05/0.7635, allocations: 49.09 kB / 1.015 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.7636, allocations: 4 kB / 1.015 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7636, allocations: 4.641 kB / 1.015 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.7636, allocations: 0 / 1.015 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.7637, allocations: 30.67 kB / 1.015 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.7637, allocations: 0 / 1.015 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.7639, allocations: 23.98 kB / 1.015 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.7639, allocations: 4 kB / 1.015 GB, free: 10.83 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.536e-05/0.7639, allocations: 112.9 kB / 1.015 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.764, allocations: 192 / 1.015 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.764, allocations: 11.8 kB / 1.015 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.764, allocations: 3.906 kB / 1.015 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.764, allocations: 4 kB / 1.016 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.764, allocations: 0 / 1.016 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.7642, allocations: 137.7 kB / 1.016 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.7642, allocations: 0 / 1.016 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.7643, allocations: 27.97 kB / 1.016 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.7643, allocations: 0 / 1.016 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.7643, allocations: 4 kB / 1.016 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.7643, allocations: 0 / 1.016 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7643, allocations: 0 / 1.016 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001143/0.7644, allocations: 153.5 kB / 1.016 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.7645, allocations: 85.02 kB / 1.016 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.7645, allocations: 0 / 1.016 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.7646, allocations: 19.98 kB / 1.016 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.7647, allocations: 10.72 kB / 1.016 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.7647, allocations: 0 / 1.016 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.529e-05/0.7647, allocations: 87.02 kB / 1.016 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002015/0.7649, allocations: 8 kB / 1.016 GB, free: 10.12 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001398/0.7651, allocations: 99.25 kB / 1.016 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.713e-05/0.7652, allocations: 22.86 kB / 1.016 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.7652, allocations: 4 kB / 1.016 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.7652, allocations: 18.62 kB / 1.016 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.7654, allocations: 7.906 kB / 1.016 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.7657, allocations: 82.48 kB / 1.016 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.766, allocations: 0.6915 MB / 1.017 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.766, allocations: 0 / 1.017 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of Templates: time 0.002478/0.7684, allocations: 0.6457 MB / 1.018 GB, free: 8.531 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterEqual.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches