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.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") [: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.401/1.401, allocations: 249.4 MB / 256.7 MB, free: 7.07 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.001092/0.001092, allocations: 180.4 kB / 316 MB, free: 3.535 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.542/1.542, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.001102/0.001102, allocations: 90.33 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.041e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2081, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5151/0.7233, allocations: 131.6 MB / 1.013 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.7235, allocations: 73.77 kB / 1.013 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002224/0.7258, allocations: 0.5807 MB / 1.014 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.7258, allocations: 4 kB / 1.014 GB, free: 6.496 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003943/0.7262, allocations: 366.1 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.7262, allocations: 8.031 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.7263, allocations: 3.906 kB / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.7264, allocations: 179.6 kB / 1.014 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.7264, allocations: 0 / 1.014 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.7264, allocations: 4 kB / 1.014 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.17e-05/0.7265, allocations: 21 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.544e-05/0.7266, allocations: 44.62 kB / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7266, allocations: 3.938 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.7266, allocations: 0 / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.7266, allocations: 3.938 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.7271, allocations: 285.4 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.97e-05/0.7272, allocations: 34.14 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.7272, allocations: 15.98 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.7272, allocations: 0 / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.7272, allocations: 30.56 kB / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.7273, allocations: 0 / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001561/0.7274, allocations: 60.75 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.7274, allocations: 51.41 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.7275, allocations: 107.7 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.7275, allocations: 25.7 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.7276, allocations: 87.58 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.7276, allocations: 11.75 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.7276, allocations: 0 / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7277, allocations: 318.5 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.7278, allocations: 10.69 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/0.7278, allocations: 7.188 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/0.7278, allocations: 11.44 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.7278, allocations: 0 / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.699e-05/0.7279, allocations: 60.78 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.7279, allocations: 4 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7279, allocations: 0 / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.728, allocations: 0 / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.7281, allocations: 27.97 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.7281, allocations: 0 / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.703e-05/0.7282, allocations: 19.98 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.7282, allocations: 0 / 1.015 GB, free: 4.605 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: 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 7.187e-05/0.7283, allocations: 105 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.7284, allocations: 11.59 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.7284, allocations: 7.984 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7284, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.7284, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7284, allocations: 384 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.7286, allocations: 152.9 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7286, allocations: 4 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.7287, allocations: 31.97 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7287, allocations: 3.938 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.7287, allocations: 0 / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.7287, allocations: 0 / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7287, allocations: 0 / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001508/0.7289, allocations: 156.9 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.7289, allocations: 81.02 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.729, allocations: 0 / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.7291, allocations: 19.98 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.7291, allocations: 3.984 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.7292, allocations: 4 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.293e-05/0.7292, allocations: 90.59 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002157/0.7294, allocations: 8 kB / 1.016 GB, free: 3.883 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: 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.0001634/0.7296, allocations: 95.25 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.7297, allocations: 27.05 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7297, allocations: 0 / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.7298, allocations: 15.5 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.73, allocations: 11.91 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.7302, allocations: 78.81 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.7305, allocations: 0.6915 MB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.7306, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.002338/0.7329, allocations: 0.6335 MB / 1.018 GB, free: 2.316 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches