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.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [: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.354/1.354, allocations: 249.4 MB / 256.7 MB, free: 7.008 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.001133/0.001133, allocations: 180.6 kB / 316 MB, free: 3.598 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.247/1.247, allocations: 205.2 MB / 0.5667 GB, free: 15.65 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.0008913/0.0008913, allocations: 93.52 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.484e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1502, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4785/0.6287, allocations: 131.9 MB / 1.013 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.6291, allocations: 73.7 kB / 1.013 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003287/0.6324, allocations: 0.6594 MB / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.6324, allocations: 2.734 kB / 1.014 GB, free: 6.395 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.0004903/0.6329, allocations: 353.5 kB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.633, allocations: 8.031 kB / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.633, allocations: 7.906 kB / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.6332, allocations: 159.8 kB / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.6332, allocations: 4 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.6332, allocations: 0 / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.766e-05/0.6333, allocations: 37.77 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.6334, allocations: 44.94 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.6334, allocations: 3.984 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6335, allocations: 0 / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.6335, allocations: 4 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.6339, allocations: 265.8 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.294e-05/0.634, allocations: 51.56 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.634, allocations: 16.14 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.634, allocations: 0 / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.6341, allocations: 44.44 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.6341, allocations: 0 / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001824/0.6342, allocations: 53.53 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.6343, allocations: 59.22 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.12e-05/0.6344, allocations: 93.02 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.6344, allocations: 29.7 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.6344, allocations: 84.12 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.6345, allocations: 11.31 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/0.6345, allocations: 4 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.6346, allocations: 314.8 kB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.6346, allocations: 11.25 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.291e-05/0.6346, allocations: 14.25 kB / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.6347, allocations: 15.67 kB / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.6347, allocations: 0 / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.782e-05/0.6348, allocations: 57.09 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.6348, allocations: 8 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6348, allocations: 0 / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6348, allocations: 4 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.635, allocations: 15.98 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.635, allocations: 320 / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.899e-05/0.6351, allocations: 11.98 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.6351, allocations: 0 / 1.016 GB, free: 4.531 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 (intGreThr.u,intGreThr.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.957e-05/0.6352, allocations: 112.9 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.6352, allocations: 3.906 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.6352, allocations: 18.67 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6352, allocations: 4 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6352, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6353, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.6354, allocations: 149.2 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.6354, allocations: 0 / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.6355, allocations: 19.98 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6355, allocations: 0 / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.6355, allocations: 4.609 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6355, allocations: 3.984 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6356, allocations: 0 / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001365/0.6357, allocations: 153.8 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.6357, allocations: 81.02 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.6358, allocations: 4.625 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.6359, allocations: 15.92 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.636, allocations: 11.61 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.636, allocations: 4 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.85e-05/0.636, allocations: 86.39 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002222/0.6362, allocations: 12 kB / 1.017 GB, free: 3.805 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 (intGreThr.u,intGreThr.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.0001189/0.6364, allocations: 107.2 kB / 1.017 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.856e-05/0.6365, allocations: 29.8 kB / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6365, allocations: 0 / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.6365, allocations: 14.81 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.6367, allocations: 7.312 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.637, allocations: 85.78 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.6372, allocations: 0.6993 MB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.6372, allocations: 3.938 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of Templates: time 0.002656/0.6399, allocations: 0.7963 MB / 1.018 GB, free: 2.047 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches