Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.945/1.945, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001019/0.001019, allocations: 192.2 kB / 490.8 MB, free: 1.949 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.303/1.303, allocations: 221.3 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00086/0.00086, allocations: 92.67 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.284e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2723, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8728/1.145, allocations: 377.2 MB / 1.58 GB, free: 5.422 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.145, allocations: 83.42 kB / 1.58 GB, free: 5.379 MB / 0.9948 GB Notification: Performance of FrontEnd: time 0.2611/1.407, allocations: 123.6 MB / 1.701 GB, free: 2.527 MB / 1.104 GB Notification: Performance of Transformations before backend: time 2.97e-05/1.407, allocations: 4 kB / 1.701 GB, free: 2.523 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009664/1.408, allocations: 0.5916 MB / 1.701 GB, free: 1.887 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.408, allocations: 8.031 kB / 1.701 GB, free: 1.879 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/1.408, allocations: 35.62 kB / 1.701 GB, free: 1.844 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/1.408, allocations: 309.3 kB / 1.702 GB, free: 1.504 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.408, allocations: 8 kB / 1.702 GB, free: 1.496 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/1.408, allocations: 12 kB / 1.702 GB, free: 1.484 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002561/1.409, allocations: 116.9 kB / 1.702 GB, free: 1.367 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/1.409, allocations: 200.5 kB / 1.702 GB, free: 1.164 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.409, allocations: 0 / 1.702 GB, free: 1.164 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/1.409, allocations: 0 / 1.702 GB, free: 1.164 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.409, allocations: 7.906 kB / 1.702 GB, free: 1.156 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/1.41, allocations: 0.7662 MB / 1.703 GB, free: 348 kB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/1.41, allocations: 101.1 kB / 1.703 GB, free: 228 kB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.614e-05/1.41, allocations: 57.83 kB / 1.703 GB, free: 164 kB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/1.411, allocations: 0.4947 MB / 1.703 GB, free: 15.55 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/1.411, allocations: 30.56 kB / 1.703 GB, free: 15.52 MB / 1.12 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/1.411, allocations: 4 kB / 1.703 GB, free: 15.51 MB / 1.12 GB Notification: Performance of matching and sorting (n=12): time 0.000444/1.411, allocations: 149.4 kB / 1.704 GB, free: 15.36 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/1.411, allocations: 81.11 kB / 1.704 GB, free: 15.26 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/1.412, allocations: 180.1 kB / 1.704 GB, free: 15.08 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/1.412, allocations: 25.7 kB / 1.704 GB, free: 15.05 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/1.412, allocations: 152.1 kB / 1.704 GB, free: 14.89 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/1.412, allocations: 31.47 kB / 1.704 GB, free: 14.86 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/1.412, allocations: 0 / 1.704 GB, free: 14.86 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.412, allocations: 334.8 kB / 1.704 GB, free: 14.53 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-05/1.412, allocations: 31.98 kB / 1.704 GB, free: 14.5 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/1.412, allocations: 91.72 kB / 1.704 GB, free: 14.38 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/1.412, allocations: 59.89 kB / 1.704 GB, free: 14.32 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.412, allocations: 0 / 1.704 GB, free: 14.32 MB / 1.12 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003275/1.413, allocations: 153.3 kB / 1.705 GB, free: 14.16 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.413, allocations: 4 kB / 1.705 GB, free: 14.16 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.413, allocations: 0 / 1.705 GB, free: 14.16 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/1.413, allocations: 4 kB / 1.705 GB, free: 14.16 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/1.413, allocations: 40.03 kB / 1.705 GB, free: 14.12 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.413, allocations: 4 kB / 1.705 GB, free: 14.11 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/1.413, allocations: 39.81 kB / 1.705 GB, free: 14.07 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/1.413, allocations: 15.98 kB / 1.705 GB, free: 14.06 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.775e-05/1.413, allocations: 108.9 kB / 1.705 GB, free: 13.95 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/1.413, allocations: 23.72 kB / 1.705 GB, free: 13.92 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/1.414, allocations: 176.2 kB / 1.705 GB, free: 13.74 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/1.414, allocations: 12.03 kB / 1.705 GB, free: 13.73 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.414, allocations: 3.938 kB / 1.705 GB, free: 13.73 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.414, allocations: 0 / 1.705 GB, free: 13.73 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007975/1.415, allocations: 0.5529 MB / 1.706 GB, free: 13.12 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.415, allocations: 0 / 1.706 GB, free: 13.12 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/1.415, allocations: 40.09 kB / 1.706 GB, free: 13.08 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.415, allocations: 4 kB / 1.706 GB, free: 13.07 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/1.415, allocations: 7.906 kB / 1.706 GB, free: 13.07 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/1.415, allocations: 3.984 kB / 1.706 GB, free: 13.06 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.415, allocations: 7.938 kB / 1.706 GB, free: 13.05 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004839/1.415, allocations: 438.4 kB / 1.706 GB, free: 12.57 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/1.416, allocations: 112.8 kB / 1.706 GB, free: 12.44 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/1.416, allocations: 7.984 kB / 1.706 GB, free: 12.43 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/1.416, allocations: 35.88 kB / 1.706 GB, free: 12.39 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/1.416, allocations: 11.98 kB / 1.706 GB, free: 12.38 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/1.416, allocations: 8 kB / 1.706 GB, free: 12.38 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.0001063/1.416, allocations: 140.5 kB / 1.706 GB, free: 12.24 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0004966/1.417, allocations: 107.8 kB / 1.706 GB, free: 12.14 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006016/1.417, allocations: 299.6 kB / 1.707 GB, free: 11.85 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0002386/1.418, allocations: 107.9 kB / 1.707 GB, free: 11.74 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.418, allocations: 4 kB / 1.707 GB, free: 11.74 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/1.418, allocations: 79.84 kB / 1.707 GB, free: 11.66 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/1.418, allocations: 80.64 kB / 1.707 GB, free: 11.58 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006914/1.419, allocations: 339.1 kB / 1.707 GB, free: 11.22 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/1.419, allocations: 0.8135 MB / 1.708 GB, free: 10.38 MB / 1.12 GB Notification: Performance of SimCode: time 2.81e-07/1.419, allocations: 3.938 kB / 1.708 GB, free: 10.38 MB / 1.12 GB Notification: Performance of Templates: time 0.009345/1.429, allocations: 4.65 MB / 1.713 GB, free: 5.777 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches