Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [: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.206/1.206, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.0009041/0.0009041, allocations: 177.3 kB / 316 MB, free: 3.512 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/1, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0007502/0.0007501, allocations: 100.2 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.74e-06/5.78e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5487/0.6878, allocations: 357.9 MB / 1.234 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.688, allocations: 83.45 kB / 1.234 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.355/1.043, allocations: 69.88 MB / 1.302 GB, free: 288.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.496e-05/1.043, allocations: 12.56 kB / 1.302 GB, free: 288.8 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004489/1.044, allocations: 465.1 kB / 1.303 GB, free: 288.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/1.044, allocations: 8.875 kB / 1.303 GB, free: 288.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/1.044, allocations: 21.47 kB / 1.303 GB, free: 288.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/1.044, allocations: 239.9 kB / 1.303 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/1.044, allocations: 3.625 kB / 1.303 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/1.044, allocations: 10.97 kB / 1.303 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001349/1.044, allocations: 56.69 kB / 1.303 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/1.044, allocations: 114.7 kB / 1.303 GB, free: 288 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/1.044, allocations: 4.938 kB / 1.303 GB, free: 288 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.044, allocations: 0 / 1.303 GB, free: 288 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.044, allocations: 2.156 kB / 1.303 GB, free: 288 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/1.045, allocations: 499 kB / 1.304 GB, free: 287.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.552e-05/1.045, allocations: 76.7 kB / 1.304 GB, free: 287.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/1.045, allocations: 39.8 kB / 1.304 GB, free: 287.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/1.045, allocations: 337.5 kB / 1.304 GB, free: 287 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/1.045, allocations: 34.56 kB / 1.304 GB, free: 287 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/1.045, allocations: 0 / 1.304 GB, free: 287 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0002816/1.045, allocations: 104.5 kB / 1.304 GB, free: 286.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.487e-05/1.045, allocations: 78.2 kB / 1.304 GB, free: 286.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/1.046, allocations: 139.3 kB / 1.305 GB, free: 286.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/1.046, allocations: 26.2 kB / 1.305 GB, free: 286.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/1.046, allocations: 114.9 kB / 1.305 GB, free: 286.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/1.046, allocations: 22.58 kB / 1.305 GB, free: 286.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/1.046, allocations: 0.8438 kB / 1.305 GB, free: 286.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 3.722e-05/1.046, allocations: 322 kB / 1.305 GB, free: 286.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/1.046, allocations: 18.41 kB / 1.305 GB, free: 286.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.592e-05/1.046, allocations: 62.58 kB / 1.305 GB, free: 286.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/1.046, allocations: 32.91 kB / 1.305 GB, free: 286.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.046, allocations: 0 / 1.305 GB, free: 286.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000176/1.046, allocations: 105.4 kB / 1.305 GB, free: 286 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/1.046, allocations: 7.938 kB / 1.305 GB, free: 286 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/1.046, allocations: 0 / 1.305 GB, free: 286 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/1.046, allocations: 4 kB / 1.305 GB, free: 286 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/1.046, allocations: 27.92 kB / 1.305 GB, free: 286 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/1.046, allocations: 0 / 1.305 GB, free: 286 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/1.046, allocations: 32 kB / 1.305 GB, free: 286 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/1.046, allocations: 8 kB / 1.305 GB, free: 286 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.181e-05/1.046, allocations: 105 kB / 1.305 GB, free: 285.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/1.047, allocations: 11.81 kB / 1.305 GB, free: 285.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/1.047, allocations: 135.2 kB / 1.306 GB, free: 285.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.047, allocations: 4 kB / 1.306 GB, free: 285.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/1.047, allocations: 4 kB / 1.306 GB, free: 285.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.047, allocations: 0 / 1.306 GB, free: 285.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/1.047, allocations: 424.1 kB / 1.306 GB, free: 285.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.047, allocations: 7.938 kB / 1.306 GB, free: 285.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/1.047, allocations: 28.02 kB / 1.306 GB, free: 285.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/1.047, allocations: 4 kB / 1.306 GB, free: 285.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/1.047, allocations: 0 / 1.306 GB, free: 285.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.047, allocations: 0 / 1.306 GB, free: 285.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.047, allocations: 7.984 kB / 1.306 GB, free: 285.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002137/1.048, allocations: 361 kB / 1.306 GB, free: 284.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/1.048, allocations: 100.9 kB / 1.306 GB, free: 284.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/1.048, allocations: 7.984 kB / 1.306 GB, free: 284.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/1.048, allocations: 12 kB / 1.306 GB, free: 284.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/1.048, allocations: 7.984 kB / 1.306 GB, free: 284.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/1.048, allocations: 4 kB / 1.306 GB, free: 284.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.302e-05/1.048, allocations: 112.3 kB / 1.307 GB, free: 284.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003161/1.048, allocations: 63.83 kB / 1.307 GB, free: 284.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000327/1.049, allocations: 238.6 kB / 1.307 GB, free: 284.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001227/1.049, allocations: 75.91 kB / 1.307 GB, free: 284.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.049, allocations: 0 / 1.307 GB, free: 284.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/1.049, allocations: 47.92 kB / 1.307 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/1.049, allocations: 52.06 kB / 1.307 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/1.049, allocations: 216.1 kB / 1.307 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/1.05, allocations: 0.7469 MB / 1.308 GB, free: 283 MB / 0.8542 GB Notification: Performance of SimCode: time 2.81e-07/1.05, allocations: 3.938 kB / 1.308 GB, free: 283 MB / 0.8542 GB Notification: Performance of Templates: time 0.004786/1.054, allocations: 3.027 MB / 1.311 GB, free: 280.1 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches