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.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [: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.34/1.34, allocations: 249.4 MB / 256.7 MB, free: 0.7227 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 176.2 kB / 316 MB, free: 8.945 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 0.5667 GB, free: 13.46 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009777/0.0009778, allocations: 87.89 kB / 0.671 GB, free: 51.57 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 1.031e-05/1.034e-05, allocations: 4 kB / 0.7807 GB, free: 9.965 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6532/0.6532, allocations: 106.3 MB / 0.8846 GB, free: 89.14 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.8192, allocations: 130.9 MB / 1.012 GB, free: 14.8 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.8194, allocations: 69.28 kB / 1.012 GB, free: 14.73 MB / 0.659 GB Notification: Performance of FrontEnd: time 0.002649/0.8221, allocations: 0.6561 MB / 1.013 GB, free: 14.11 MB / 0.659 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.8221, allocations: 5.203 kB / 1.013 GB, free: 14.1 MB / 0.659 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.0003802/0.8225, allocations: 345.2 kB / 1.013 GB, free: 13.73 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.8225, allocations: 9.562 kB / 1.013 GB, free: 13.72 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.8226, allocations: 9.75 kB / 1.013 GB, free: 13.71 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.8227, allocations: 168.8 kB / 1.014 GB, free: 13.51 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.8227, allocations: 0 / 1.014 GB, free: 13.51 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.8227, allocations: 4 kB / 1.014 GB, free: 13.5 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.181e-05/0.8228, allocations: 30.47 kB / 1.014 GB, free: 13.48 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.325e-05/0.8229, allocations: 55.69 kB / 1.014 GB, free: 13.42 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-06/0.8229, allocations: 0 / 1.014 GB, free: 13.42 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.8229, allocations: 0 / 1.014 GB, free: 13.42 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.823, allocations: 0 / 1.014 GB, free: 13.42 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.8233, allocations: 263.6 kB / 1.014 GB, free: 13.12 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.8234, allocations: 54.06 kB / 1.014 GB, free: 13.07 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.8235, allocations: 16.89 kB / 1.014 GB, free: 13.05 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.8235, allocations: 0 / 1.014 GB, free: 13.05 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.8235, allocations: 40.69 kB / 1.014 GB, free: 13 MB / 0.659 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.8235, allocations: 0 / 1.014 GB, free: 13 MB / 0.659 GB Notification: Performance of matching and sorting (n=4): time 0.0001619/0.8237, allocations: 55.09 kB / 1.014 GB, free: 12.94 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.8237, allocations: 57.88 kB / 1.014 GB, free: 12.88 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.233e-05/0.8238, allocations: 101 kB / 1.014 GB, free: 12.77 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.8238, allocations: 25.7 kB / 1.014 GB, free: 12.74 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.8239, allocations: 80.14 kB / 1.014 GB, free: 12.66 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.8239, allocations: 11.81 kB / 1.014 GB, free: 12.64 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.8239, allocations: 0.9375 kB / 1.014 GB, free: 12.64 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.824, allocations: 318.8 kB / 1.015 GB, free: 12.32 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.824, allocations: 13 kB / 1.015 GB, free: 12.31 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.8241, allocations: 11.94 kB / 1.015 GB, free: 12.3 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.8241, allocations: 9.25 kB / 1.015 GB, free: 12.29 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.8241, allocations: 0 / 1.015 GB, free: 12.29 MB / 0.659 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001057/0.8242, allocations: 65.58 kB / 1.015 GB, free: 12.22 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.8242, allocations: 6.406 kB / 1.015 GB, free: 12.22 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.8243, allocations: 1.25 kB / 1.015 GB, free: 12.22 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.8243, allocations: 0 / 1.015 GB, free: 12.22 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.8244, allocations: 16.73 kB / 1.015 GB, free: 12.2 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.8244, allocations: 2.875 kB / 1.015 GB, free: 12.2 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.8245, allocations: 13.17 kB / 1.015 GB, free: 12.19 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.8245, allocations: 3.047 kB / 1.015 GB, free: 12.19 MB / 0.659 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 (intLesEquThr.u,intLesEquThr.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.602e-05/0.8246, allocations: 110.3 kB / 1.015 GB, free: 12.08 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.8246, allocations: 4.75 kB / 1.015 GB, free: 12.07 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.8247, allocations: 11.94 kB / 1.015 GB, free: 12.06 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.8247, allocations: 0.5938 kB / 1.015 GB, free: 12.06 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.8247, allocations: 0.7188 kB / 1.015 GB, free: 12.06 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-06/0.8247, allocations: 0 / 1.015 GB, free: 12.06 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.8249, allocations: 154.6 kB / 1.015 GB, free: 11.87 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8249, allocations: 3.938 kB / 1.015 GB, free: 11.87 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.825, allocations: 19.61 kB / 1.015 GB, free: 11.85 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.825, allocations: 3.234 kB / 1.015 GB, free: 11.85 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.825, allocations: 1 kB / 1.015 GB, free: 11.85 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.825, allocations: 0 / 1.015 GB, free: 11.85 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.825, allocations: 0 / 1.015 GB, free: 11.85 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001473/0.8252, allocations: 161.7 kB / 1.015 GB, free: 11.68 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.8252, allocations: 81.02 kB / 1.015 GB, free: 11.58 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.8252, allocations: 4 kB / 1.015 GB, free: 11.58 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.8254, allocations: 8.703 kB / 1.015 GB, free: 11.57 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.8255, allocations: 18.86 kB / 1.015 GB, free: 11.55 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.8255, allocations: 4 kB / 1.015 GB, free: 11.55 MB / 0.659 GB Notification: Performance of sort global known variables: time 4.582e-05/0.8255, allocations: 79.28 kB / 1.015 GB, free: 11.47 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0002154/0.8257, allocations: 16 kB / 1.015 GB, free: 11.46 MB / 0.659 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 (intLesEquThr.u,intLesEquThr.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.0001068/0.8259, allocations: 108.2 kB / 1.016 GB, free: 11.34 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 8.89e-05/0.826, allocations: 24 kB / 1.016 GB, free: 11.32 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.826, allocations: 0 / 1.016 GB, free: 11.32 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 4.256e-05/0.826, allocations: 19.98 kB / 1.016 GB, free: 11.3 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.8262, allocations: 8.078 kB / 1.016 GB, free: 11.29 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.8264, allocations: 91.45 kB / 1.016 GB, free: 11.18 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.8267, allocations: 0.6954 MB / 1.016 GB, free: 10.46 MB / 0.659 GB Notification: Performance of SimCode: time 2.41e-07/0.8267, allocations: 10.38 kB / 1.016 GB, free: 10.45 MB / 0.659 GB Notification: Performance of Templates: time 0.00243/0.8292, allocations: 0.7794 MB / 1.017 GB, free: 9.703 MB / 0.659 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches