Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.882/1.882, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001092/0.001092, allocations: 184.3 kB / 487 MB, free: 5.375 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.254/1.254, allocations: 221.3 MB / 0.7819 GB, free: 1.543 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.0009263/0.0009263, allocations: 100.2 kB / 0.9213 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.373e-06/7.504e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2538, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8758/1.13, allocations: 375.8 MB / 1.572 GB, free: 14.82 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/1.13, allocations: 83.05 kB / 1.572 GB, free: 14.77 MB / 1.01 GB Notification: Performance of FrontEnd: time 0.1472/1.277, allocations: 73.57 MB / 1.644 GB, free: 14.09 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.969e-05/1.277, allocations: 11.94 kB / 1.644 GB, free: 14.07 MB / 1.073 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.0006166/1.278, allocations: 462 kB / 1.645 GB, free: 13.58 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/1.278, allocations: 9.031 kB / 1.645 GB, free: 13.57 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/1.278, allocations: 19.81 kB / 1.645 GB, free: 13.55 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/1.278, allocations: 251 kB / 1.645 GB, free: 13.27 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/1.278, allocations: 7.938 kB / 1.645 GB, free: 13.26 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/1.278, allocations: 8 kB / 1.645 GB, free: 13.25 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001478/1.278, allocations: 59.98 kB / 1.645 GB, free: 13.19 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/1.279, allocations: 112.9 kB / 1.645 GB, free: 13.07 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/1.279, allocations: 0 / 1.645 GB, free: 13.07 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/1.279, allocations: 0 / 1.645 GB, free: 13.07 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/1.279, allocations: 4 kB / 1.645 GB, free: 13.07 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/1.279, allocations: 0.5029 MB / 1.646 GB, free: 12.53 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/1.279, allocations: 73.19 kB / 1.646 GB, free: 12.44 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/1.279, allocations: 41.83 kB / 1.646 GB, free: 12.39 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/1.28, allocations: 340.4 kB / 1.646 GB, free: 11.98 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.28, allocations: 38.5 kB / 1.646 GB, free: 11.94 MB / 1.073 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/1.28, allocations: 0 / 1.646 GB, free: 11.94 MB / 1.073 GB Notification: Performance of matching and sorting (n=7): time 0.0003336/1.28, allocations: 97.47 kB / 1.646 GB, free: 11.84 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/1.28, allocations: 77.11 kB / 1.646 GB, free: 11.74 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/1.28, allocations: 129.5 kB / 1.646 GB, free: 11.61 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/1.28, allocations: 29.69 kB / 1.646 GB, free: 11.57 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/1.281, allocations: 116 kB / 1.646 GB, free: 11.45 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/1.281, allocations: 27.59 kB / 1.646 GB, free: 11.43 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/1.281, allocations: 0 / 1.646 GB, free: 11.43 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.281, allocations: 322.8 kB / 1.647 GB, free: 11.1 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.994e-05/1.281, allocations: 19.92 kB / 1.647 GB, free: 11.08 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/1.281, allocations: 65.14 kB / 1.647 GB, free: 11 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/1.281, allocations: 31.97 kB / 1.647 GB, free: 10.97 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.281, allocations: 0 / 1.647 GB, free: 10.97 MB / 1.073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002185/1.281, allocations: 101.4 kB / 1.647 GB, free: 10.86 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.281, allocations: 8 kB / 1.647 GB, free: 10.86 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/1.281, allocations: 0 / 1.647 GB, free: 10.86 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/1.281, allocations: 0 / 1.647 GB, free: 10.86 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/1.281, allocations: 32.05 kB / 1.647 GB, free: 10.82 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/1.281, allocations: 0 / 1.647 GB, free: 10.82 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/1.282, allocations: 15.98 kB / 1.647 GB, free: 10.81 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/1.282, allocations: 7.984 kB / 1.647 GB, free: 10.8 MB / 1.073 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 7.962e-05/1.282, allocations: 109.6 kB / 1.647 GB, free: 10.69 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/1.282, allocations: 15.81 kB / 1.647 GB, free: 10.67 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/1.282, allocations: 130.8 kB / 1.647 GB, free: 10.54 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.282, allocations: 7.906 kB / 1.647 GB, free: 10.53 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/1.282, allocations: 0 / 1.647 GB, free: 10.53 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.282, allocations: 0 / 1.647 GB, free: 10.53 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/1.283, allocations: 433.5 kB / 1.648 GB, free: 10.05 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.283, allocations: 0 / 1.648 GB, free: 10.05 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/1.283, allocations: 24.11 kB / 1.648 GB, free: 10.03 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.283, allocations: 0 / 1.648 GB, free: 10.03 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/1.283, allocations: 8 kB / 1.648 GB, free: 10.02 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.283, allocations: 7.844 kB / 1.648 GB, free: 10.02 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.283, allocations: 80 / 1.648 GB, free: 10.02 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003487/1.283, allocations: 368.1 kB / 1.648 GB, free: 9.605 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/1.283, allocations: 104.8 kB / 1.648 GB, free: 9.484 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/1.283, allocations: 0 / 1.648 GB, free: 9.484 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/1.283, allocations: 11.98 kB / 1.648 GB, free: 9.473 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/1.284, allocations: 15.83 kB / 1.648 GB, free: 9.457 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/1.284, allocations: 4 kB / 1.648 GB, free: 9.453 MB / 1.073 GB Notification: Performance of sort global known variables: time 8.203e-05/1.284, allocations: 124.3 kB / 1.648 GB, free: 9.332 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0003773/1.284, allocations: 55.92 kB / 1.648 GB, free: 9.277 MB / 1.073 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.0004498/1.284, allocations: 236.3 kB / 1.649 GB, free: 9.047 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0001586/1.285, allocations: 71.91 kB / 1.649 GB, free: 8.977 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.285, allocations: 4 kB / 1.649 GB, free: 8.973 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/1.285, allocations: 48.02 kB / 1.649 GB, free: 8.926 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/1.285, allocations: 56.31 kB / 1.649 GB, free: 8.871 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/1.286, allocations: 211.7 kB / 1.649 GB, free: 8.625 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/1.286, allocations: 0.7508 MB / 1.65 GB, free: 7.848 MB / 1.073 GB Notification: Performance of SimCode: time 2.4e-07/1.286, allocations: 0 / 1.65 GB, free: 7.848 MB / 1.073 GB Notification: Performance of Templates: time 0.006546/1.293, allocations: 3.006 MB / 1.653 GB, free: 4.875 MB / 1.073 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches