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.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.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.y|greEquThr.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.y|greEquThr.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.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.336/1.336, allocations: 249.4 MB / 256.7 MB, free: 7.094 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.001411/0.001411, allocations: 177.3 kB / 316 MB, free: 3.566 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.536/1.536, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0009935/0.0009935, allocations: 94.14 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.598e-06/9.628e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2128, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5772/0.7901, allocations: 131.6 MB / 1.013 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.7905, allocations: 72.64 kB / 1.013 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001721/0.7922, allocations: 326.8 kB / 1.013 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.7922, allocations: 4 kB / 1.014 GB, free: 6.754 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004559/0.7927, allocations: 346.4 kB / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.7927, allocations: 8.031 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.7928, allocations: 0 / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.793, allocations: 170.9 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.793, allocations: 4 kB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.793, allocations: 0 / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.382e-05/0.7931, allocations: 13.44 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.7932, allocations: 33.69 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7932, allocations: 0 / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.7932, allocations: 0 / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.7932, allocations: 0 / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.7938, allocations: 251.9 kB / 1.014 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.017e-05/0.7938, allocations: 33.88 kB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.777e-05/0.7939, allocations: 8.922 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.7939, allocations: 0 / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.7939, allocations: 37.62 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7939, allocations: 0 / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001469/0.7941, allocations: 41.98 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.7941, allocations: 51.41 kB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.7942, allocations: 99.23 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.7942, allocations: 29.69 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.7943, allocations: 80.14 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.7943, allocations: 7.938 kB / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.7943, allocations: 0 / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7944, allocations: 314.7 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.7944, allocations: 7.938 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.7945, allocations: 4 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.399e-05/0.7945, allocations: 7.562 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.7945, allocations: 4 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.547e-05/0.7946, allocations: 40.5 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.7946, allocations: 4 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.7946, allocations: 4.094 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.7946, allocations: 0 / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.7947, allocations: 8 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.7947, allocations: 8.141 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.7948, allocations: 12 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.7948, allocations: 8 kB / 1.015 GB, free: 4.996 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: 1 (greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.719e-05/0.7949, allocations: 101 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.7949, allocations: 0 / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.795, allocations: 18.84 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.795, allocations: 4 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.795, allocations: 0 / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.795, allocations: 0 / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.7951, allocations: 134.2 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.7951, allocations: 4 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.7952, allocations: 18.86 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7952, allocations: 0 / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.7952, allocations: 0 / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7952, allocations: 0 / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.7952, allocations: 3.906 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001245/0.7954, allocations: 139.4 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.7954, allocations: 84.95 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.7955, allocations: 0 / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.842e-05/0.7956, allocations: 15.97 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.7956, allocations: 4 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.7956, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.8e-05/0.7957, allocations: 86.62 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002037/0.7959, allocations: 4 kB / 1.016 GB, free: 4.328 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: 1 (greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001944/0.7961, allocations: 103.2 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.317e-05/0.7962, allocations: 15.25 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7962, allocations: 0 / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.7962, allocations: 7.562 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.7965, allocations: 4 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.7967, allocations: 69.81 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.797, allocations: 0.688 MB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.797, allocations: 3.938 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of Templates: time 0.002122/0.7991, allocations: 455.7 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches