Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.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 9.1.1-maint.9.1.x/package.mo): time 1.865/1.865, allocations: 387.2 MB / 394.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 182.2 kB / 487 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.3 MB / 0.7819 GB, free: 6.812 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008984, allocations: 98.23 kB / 0.9213 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.484e-06, allocations: 0 / 1.066 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6427/0.6427, allocations: 142.3 MB / 1.205 GB, free: 72.78 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1729/0.8157, allocations: 148.5 MB / 1.35 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.816, allocations: 88.42 kB / 1.35 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.001415/0.8174, allocations: 334.8 kB / 1.351 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.8174, allocations: 0 / 1.351 GB, free: 14.39 MB / 0.8542 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.0003161/0.8177, allocations: 336.8 kB / 1.351 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.8178, allocations: 12.02 kB / 1.351 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.8178, allocations: 11 kB / 1.351 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.818, allocations: 168.2 kB / 1.351 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.818, allocations: 0 / 1.351 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.818, allocations: 7.938 kB / 1.351 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.515e-05/0.8181, allocations: 4 kB / 1.351 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.251e-05/0.8181, allocations: 41.59 kB / 1.351 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.8182, allocations: 0 / 1.351 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.8182, allocations: 1.094 kB / 1.351 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.8182, allocations: 4 kB / 1.351 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.8186, allocations: 240.9 kB / 1.351 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.8186, allocations: 33.73 kB / 1.351 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.8187, allocations: 12.83 kB / 1.351 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.8187, allocations: 0 / 1.351 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.8187, allocations: 38.56 kB / 1.352 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.8187, allocations: 3.938 kB / 1.352 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001342/0.8188, allocations: 37.69 kB / 1.352 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.8189, allocations: 51.41 kB / 1.352 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.193e-05/0.8189, allocations: 97.91 kB / 1.352 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.819, allocations: 25.7 kB / 1.352 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.819, allocations: 80.14 kB / 1.352 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.819, allocations: 11.91 kB / 1.352 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.819, allocations: 0 / 1.352 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.8191, allocations: 314.8 kB / 1.352 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.8191, allocations: 4 kB / 1.352 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.8192, allocations: 4 kB / 1.352 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.864e-05/0.8192, allocations: 12 kB / 1.352 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.8192, allocations: 3.844 kB / 1.352 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.016e-05/0.8193, allocations: 41.61 kB / 1.352 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.8193, allocations: 4 kB / 1.352 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.8193, allocations: 7.984 kB / 1.352 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.8193, allocations: 0 / 1.352 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.8194, allocations: 13.23 kB / 1.352 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.8194, allocations: 0 / 1.352 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.8195, allocations: 16.02 kB / 1.352 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.8195, allocations: 0 / 1.352 GB, free: 12.61 MB / 0.8542 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 5.651e-05/0.8195, allocations: 101 kB / 1.352 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.8196, allocations: 7.906 kB / 1.352 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.8196, allocations: 7.312 kB / 1.352 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.8196, allocations: 4 kB / 1.352 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.8196, allocations: 0 / 1.352 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8196, allocations: 0 / 1.352 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.8198, allocations: 138.1 kB / 1.352 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8198, allocations: 0.8125 kB / 1.352 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.8198, allocations: 8 kB / 1.352 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.8198, allocations: 3.984 kB / 1.352 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.8198, allocations: 7.938 kB / 1.352 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.8199, allocations: 4 kB / 1.352 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8199, allocations: 0 / 1.352 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.241e-05/0.82, allocations: 136 kB / 1.353 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.82, allocations: 88.98 kB / 1.353 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.82, allocations: 3.984 kB / 1.353 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.8201, allocations: 12.03 kB / 1.353 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.8202, allocations: 4.672 kB / 1.353 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.8202, allocations: 0 / 1.353 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.478e-05/0.8202, allocations: 88 kB / 1.353 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001977/0.8204, allocations: 4 kB / 1.353 GB, free: 11.93 MB / 0.8542 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.0001001/0.8205, allocations: 99.25 kB / 1.353 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.886e-05/0.8206, allocations: 15.94 kB / 1.353 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.8206, allocations: 4.062 kB / 1.353 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-05/0.8206, allocations: 4 kB / 1.353 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.8208, allocations: 4 kB / 1.353 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.821, allocations: 58.58 kB / 1.353 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.8213, allocations: 0.6919 MB / 1.354 GB, free: 11 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/0.8213, allocations: 2.25 kB / 1.354 GB, free: 11 MB / 0.8542 GB Notification: Performance of Templates: time 0.002044/0.8233, allocations: 448.4 kB / 1.354 GB, free: 10.59 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches