Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") [: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.812/1.812, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001114/0.001114, allocations: 185.2 kB / 487 MB, free: 5.371 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.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0008442/0.0008441, allocations: 97.88 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.126e-06/8.136e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1822, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5054/0.6877, allocations: 148 MB / 1.35 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001683/0.6879, allocations: 65.19 kB / 1.35 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003239/0.6911, allocations: 1.1 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.6912, allocations: 0 / 1.351 GB, free: 15.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003472/0.6915, allocations: 366.4 kB / 1.351 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.6916, allocations: 9 kB / 1.351 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.6916, allocations: 6.312 kB / 1.351 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/0.6917, allocations: 176.1 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.6917, allocations: 0 / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.6917, allocations: 2.469 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.926e-05/0.6918, allocations: 20.09 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.837e-05/0.6919, allocations: 39.98 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.6919, allocations: 1.125 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.6919, allocations: 0 / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6919, allocations: 6.531 kB / 1.352 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.6923, allocations: 290.2 kB / 1.352 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.008e-05/0.6924, allocations: 33.58 kB / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.6925, allocations: 16.58 kB / 1.352 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.6925, allocations: 0 / 1.352 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.6925, allocations: 35.72 kB / 1.352 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.6925, allocations: 0 / 1.352 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001553/0.6927, allocations: 57.25 kB / 1.352 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.663e-05/0.6927, allocations: 51.41 kB / 1.352 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.575e-05/0.6928, allocations: 103.1 kB / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.6928, allocations: 27.34 kB / 1.352 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.73e-05/0.6928, allocations: 81.52 kB / 1.352 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.6928, allocations: 17.47 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.6928, allocations: 0 / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.872e-05/0.6929, allocations: 313.8 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.6929, allocations: 13.38 kB / 1.353 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.6929, allocations: 11.81 kB / 1.353 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.6929, allocations: 9.516 kB / 1.353 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6929, allocations: 0 / 1.353 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.287e-05/0.693, allocations: 50.81 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.693, allocations: 5.344 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.693, allocations: 2.625 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.6931, allocations: 1.062 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.6932, allocations: 28.89 kB / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.6932, allocations: 320 / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.6933, allocations: 23.69 kB / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.6933, allocations: 1.219 kB / 1.353 GB, free: 14.21 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 3.594e-05/0.6934, allocations: 102.2 kB / 1.353 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.6934, allocations: 5.312 kB / 1.353 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.6934, allocations: 6.109 kB / 1.353 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.6934, allocations: 1.281 kB / 1.353 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6935, allocations: 0 / 1.353 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6935, allocations: 1.641 kB / 1.353 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.508e-05/0.6936, allocations: 147.3 kB / 1.353 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.6936, allocations: 4 kB / 1.353 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.6937, allocations: 29.73 kB / 1.353 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.6937, allocations: 0 / 1.353 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.6937, allocations: 2.375 kB / 1.353 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.6937, allocations: 0 / 1.353 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6937, allocations: 7.984 kB / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.14e-05/0.6938, allocations: 145.9 kB / 1.353 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.6938, allocations: 83.75 kB / 1.353 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.6939, allocations: 1.5 kB / 1.353 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.694, allocations: 21.17 kB / 1.353 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.694, allocations: 5.109 kB / 1.353 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.694, allocations: 5.125 kB / 1.353 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.199e-05/0.6941, allocations: 86.86 kB / 1.353 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001948/0.6943, allocations: 10 kB / 1.353 GB, free: 13.61 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001/0.6944, allocations: 100.3 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.6945, allocations: 25.19 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.6945, allocations: 4 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.6945, allocations: 14.69 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.6947, allocations: 4.109 kB / 1.353 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.6949, allocations: 76.25 kB / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.6952, allocations: 0.6978 MB / 1.354 GB, free: 28.74 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.6952, allocations: 0 / 1.354 GB, free: 28.74 MB / 0.823 GB Notification: Performance of Templates: time 0.002145/0.6973, allocations: 0.6315 MB / 1.355 GB, free: 28.69 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches