Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [: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.815/1.815, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 188.6 kB / 487 MB, free: 5.352 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.13/1.13, allocations: 221.3 MB / 0.7819 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008374/0.0008374, allocations: 91.73 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.104e-06/7.134e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1892, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.497/0.6862, allocations: 148.3 MB / 1.35 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001691/0.6864, allocations: 74.83 kB / 1.35 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002345/0.6887, allocations: 0.6378 MB / 1.351 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.6888, allocations: 0 / 1.351 GB, free: 16.14 MB / 0.8073 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.0002947/0.6891, allocations: 353 kB / 1.351 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.6891, allocations: 10.38 kB / 1.351 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.6892, allocations: 4.938 kB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/0.6892, allocations: 172 kB / 1.351 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6893, allocations: 5.188 kB / 1.351 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.6893, allocations: 5.781 kB / 1.351 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.474e-05/0.6894, allocations: 26.88 kB / 1.351 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.081e-05/0.6895, allocations: 48.45 kB / 1.351 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6895, allocations: 0 / 1.351 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.6895, allocations: 3.938 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.6895, allocations: 2.672 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.6898, allocations: 258.1 kB / 1.352 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.193e-05/0.6899, allocations: 58 kB / 1.352 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.6899, allocations: 15.61 kB / 1.352 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.6899, allocations: 6.609 kB / 1.352 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.69, allocations: 30.56 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.69, allocations: 3.938 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001501/0.6901, allocations: 54.39 kB / 1.352 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/0.6901, allocations: 51.41 kB / 1.352 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.789e-05/0.6902, allocations: 111.5 kB / 1.352 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.6902, allocations: 30.86 kB / 1.352 GB, free: 15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.902e-05/0.6902, allocations: 86.8 kB / 1.352 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.6903, allocations: 5.312 kB / 1.352 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.6903, allocations: 0 / 1.352 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.436e-05/0.6903, allocations: 317.3 kB / 1.352 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.6903, allocations: 10.78 kB / 1.352 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.6904, allocations: 9.031 kB / 1.352 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.521e-05/0.6904, allocations: 14.62 kB / 1.352 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6904, allocations: 0 / 1.352 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.726e-05/0.6905, allocations: 62.86 kB / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.6905, allocations: 5.031 kB / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.6905, allocations: 1.25 kB / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.6905, allocations: 0 / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.6907, allocations: 15.03 kB / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.6907, allocations: 1.094 kB / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/0.6908, allocations: 23.7 kB / 1.352 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.6908, allocations: 1 kB / 1.352 GB, free: 14.55 MB / 0.8073 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 (intLesThr.u,intLesThr.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 4.134e-05/0.6908, allocations: 108 kB / 1.353 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.6908, allocations: 2 kB / 1.353 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.6909, allocations: 10.58 kB / 1.353 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.6909, allocations: 0 / 1.353 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.6909, allocations: 4 kB / 1.353 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.6909, allocations: 1 kB / 1.353 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.691, allocations: 152.1 kB / 1.353 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.691, allocations: 0 / 1.353 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.6911, allocations: 16.12 kB / 1.353 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.6911, allocations: 0 / 1.353 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.6911, allocations: 1.531 kB / 1.353 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6911, allocations: 9.391 kB / 1.353 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6911, allocations: 6.062 kB / 1.353 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001027/0.6913, allocations: 153 kB / 1.353 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.6913, allocations: 83.27 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.6913, allocations: 1.266 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.6914, allocations: 15.7 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.6915, allocations: 15.61 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.6915, allocations: 2.875 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.152e-05/0.6915, allocations: 84.16 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002036/0.6917, allocations: 17.17 kB / 1.353 GB, free: 13.94 MB / 0.8073 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 (intLesThr.u,intLesThr.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 9.642e-05/0.6918, allocations: 105.1 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.083e-05/0.6919, allocations: 34.41 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.6919, allocations: 0 / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/0.692, allocations: 21.86 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.6921, allocations: 7.141 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.6924, allocations: 74.5 kB / 1.353 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.6926, allocations: 0.6973 MB / 1.354 GB, free: 29.08 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.6926, allocations: 0 / 1.354 GB, free: 29.08 MB / 0.823 GB Notification: Performance of Templates: time 0.002305/0.6949, allocations: 0.7921 MB / 1.355 GB, free: 29.02 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches