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.GreaterEqualThreshold.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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [: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.465/1.465, allocations: 249.4 MB / 256.7 MB, free: 7.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 180.8 kB / 316 MB, free: 3.602 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.159/1.159, allocations: 205.2 MB / 0.5667 GB, free: 15.74 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.0008514/0.0008515, allocations: 91.2 kB / 0.671 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/6.993e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.631, allocations: 131.9 MB / 1.013 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.6313, allocations: 76 kB / 1.013 GB, free: 7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002758/0.6341, allocations: 0.6499 MB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.6341, allocations: 0 / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004013/0.6345, allocations: 353.8 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.6346, allocations: 8.031 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.6346, allocations: 7.906 kB / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.6348, allocations: 163.1 kB / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.6348, allocations: 7.25 kB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.6348, allocations: 0 / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001049/0.6349, allocations: 37.27 kB / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.635, allocations: 48.19 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.635, allocations: 0 / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.6351, allocations: 7.922 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6351, allocations: 4 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.6355, allocations: 258.2 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.461e-05/0.6356, allocations: 49.25 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.6356, allocations: 15.83 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.6357, allocations: 3.312 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.6357, allocations: 34.56 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.6357, allocations: 0 / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001876/0.6359, allocations: 56.17 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.6359, allocations: 55.41 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6361, allocations: 96.17 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.6361, allocations: 28.58 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.6361, allocations: 84.14 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.6362, allocations: 11.38 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.6362, allocations: 4 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6363, allocations: 318.8 kB / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.6363, allocations: 7.312 kB / 1.016 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.6363, allocations: 14 kB / 1.016 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.6364, allocations: 15.42 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6364, allocations: 0 / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.653e-05/0.6365, allocations: 57.34 kB / 1.016 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6365, allocations: 10.34 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.6365, allocations: 0 / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.6365, allocations: 4 kB / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.6367, allocations: 15.98 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6367, allocations: 0 / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.6368, allocations: 11.98 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.6368, allocations: 0 / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreEquThr.u,intGreEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.87e-05/0.6369, allocations: 112.9 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.6369, allocations: 11.84 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.6369, allocations: 6.938 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.637, allocations: 0 / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.637, allocations: 0 / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.637, allocations: 0 / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.6371, allocations: 160.4 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6371, allocations: 0 / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.963e-05/0.6372, allocations: 23.86 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.6372, allocations: 4 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.6373, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6373, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6373, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001346/0.6374, allocations: 156.4 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.6374, allocations: 84.88 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.6375, allocations: 4 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.6376, allocations: 11.98 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.6377, allocations: 11.97 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.6377, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.552e-05/0.6377, allocations: 87.59 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002199/0.6379, allocations: 12 kB / 1.016 GB, free: 3.871 MB / 0.6355 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 (intGreEquThr.u,intGreEquThr.y) * Number of discrete 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 (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.0001375/0.6381, allocations: 111.2 kB / 1.017 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.6382, allocations: 26.75 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6382, allocations: 0 / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.6382, allocations: 19.42 kB / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.6384, allocations: 7.625 kB / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.6387, allocations: 86.53 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.639, allocations: 0.7032 MB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.639, allocations: 0 / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of Templates: time 0.002483/0.6415, allocations: 0.7908 MB / 1.018 GB, free: 2.117 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches