Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp") [: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 2.059/2.059, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001207/0.001207, allocations: 185.2 kB / 487 MB, free: 5.352 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.454/1.454, allocations: 221.3 MB / 0.7819 GB, free: 1.504 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.001032/0.001032, allocations: 100.9 kB / 0.9213 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.598e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3116, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.463/4.775, allocations: 1.945 GB / 3.15 GB, free: 357.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/4.775, allocations: 95.88 kB / 3.15 GB, free: 357.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.625/10.4, allocations: 1.675 GB / 4.825 GB, free: 181.2 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0002655/10.4, allocations: 62.41 kB / 4.825 GB, free: 181.2 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.007018/10.41, allocations: 2.532 MB / 4.828 GB, free: 180.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/10.41, allocations: 14.34 kB / 4.828 GB, free: 180.7 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007474/10.41, allocations: 1.084 MB / 4.829 GB, free: 180.6 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007689/10.42, allocations: 2.811 MB / 4.831 GB, free: 180.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/10.42, allocations: 50.97 kB / 4.831 GB, free: 180.2 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/10.42, allocations: 88.7 kB / 4.832 GB, free: 180.2 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002317/10.42, allocations: 1.276 MB / 4.833 GB, free: 180.2 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/10.43, allocations: 1.436 MB / 4.834 GB, free: 180 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/10.43, allocations: 0 / 4.834 GB, free: 180 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/10.43, allocations: 2.562 kB / 4.834 GB, free: 180 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.523e-05/10.43, allocations: 50.78 kB / 4.834 GB, free: 180 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/10.44, allocations: 7.839 MB / 4.842 GB, free: 176.1 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/10.44, allocations: 0.9164 MB / 4.843 GB, free: 176.1 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008071/10.44, allocations: 0.5495 MB / 4.843 GB, free: 176.1 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/10.44, allocations: 277.7 kB / 4.844 GB, free: 175.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/10.44, allocations: 45.16 kB / 4.844 GB, free: 175.8 MB / 1.198 GB Notification: Performance of pre-optimization done (n=81): time 3.406e-06/10.44, allocations: 2.594 kB / 4.844 GB, free: 175.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=81): time 0.004229/10.45, allocations: 1.209 MB / 4.845 GB, free: 175.6 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/10.45, allocations: 64.34 kB / 4.845 GB, free: 175.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/10.45, allocations: 1.313 MB / 4.846 GB, free: 175.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/10.45, allocations: 28.48 kB / 4.846 GB, free: 175.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/10.45, allocations: 0.6269 MB / 4.847 GB, free: 175.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/10.45, allocations: 274.6 kB / 4.847 GB, free: 174.9 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/10.45, allocations: 0 / 4.847 GB, free: 174.9 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001311/10.45, allocations: 342.3 kB / 4.847 GB, free: 174.6 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/10.45, allocations: 374.1 kB / 4.848 GB, free: 174.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/10.45, allocations: 0.7711 MB / 4.849 GB, free: 174.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/10.45, allocations: 0.5263 MB / 4.849 GB, free: 174.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/10.45, allocations: 3.25 kB / 4.849 GB, free: 174.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003148/10.45, allocations: 1.413 MB / 4.85 GB, free: 173.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009812/10.45, allocations: 3.845 MB / 4.854 GB, free: 170 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/10.45, allocations: 13.25 kB / 4.854 GB, free: 170 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005099/10.46, allocations: 143.4 kB / 4.854 GB, free: 169.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/10.46, allocations: 283.4 kB / 4.855 GB, free: 169.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/10.46, allocations: 3.387 MB / 4.858 GB, free: 167.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/10.46, allocations: 189.6 kB / 4.858 GB, free: 167 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/10.46, allocations: 62.91 kB / 4.858 GB, free: 167 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/10.46, allocations: 2.344 kB / 4.858 GB, free: 167 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002512/10.46, allocations: 1.187 MB / 4.859 GB, free: 166.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/10.46, allocations: 17.38 kB / 4.859 GB, free: 166.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/10.46, allocations: 130.6 kB / 4.859 GB, free: 166.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/10.47, allocations: 257 kB / 4.86 GB, free: 166.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/10.47, allocations: 3.035 MB / 4.863 GB, free: 164.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/10.47, allocations: 169.7 kB / 4.863 GB, free: 164.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/10.47, allocations: 55.16 kB / 4.863 GB, free: 164.4 MB / 1.198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003861/10.47, allocations: 142.1 kB / 4.863 GB, free: 164.3 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/10.47, allocations: 186.8 kB / 4.863 GB, free: 164.2 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/10.47, allocations: 1.259 MB / 4.864 GB, free: 164 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/10.47, allocations: 10.62 kB / 4.864 GB, free: 164 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/10.47, allocations: 3.75 kB / 4.864 GB, free: 164 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00189/10.48, allocations: 1.055 MB / 4.865 GB, free: 163.7 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/10.48, allocations: 2.742 MB / 4.868 GB, free: 163.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/10.48, allocations: 3.188 kB / 4.868 GB, free: 163.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/10.48, allocations: 237.2 kB / 4.868 GB, free: 163.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003884/10.48, allocations: 116.2 kB / 4.868 GB, free: 163.2 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/10.48, allocations: 17.48 kB / 4.868 GB, free: 163.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/10.49, allocations: 4.704 MB / 4.873 GB, free: 158.9 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/10.49, allocations: 5.031 kB / 4.873 GB, free: 158.9 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003031/10.49, allocations: 1.812 MB / 4.875 GB, free: 158.4 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008722/10.49, allocations: 360 kB / 4.875 GB, free: 158.2 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/10.49, allocations: 3.719 kB / 4.875 GB, free: 158.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/10.49, allocations: 118.2 kB / 4.875 GB, free: 158.2 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/10.49, allocations: 56.47 kB / 4.875 GB, free: 158.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/10.49, allocations: 35.14 kB / 4.875 GB, free: 158.2 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.00147/10.49, allocations: 0.9913 MB / 4.876 GB, free: 158.1 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004606/10.5, allocations: 1.309 MB / 4.878 GB, free: 158 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005789/10.5, allocations: 4.385 MB / 4.882 GB, free: 156.3 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003404/10.51, allocations: 1.878 MB / 4.884 GB, free: 156 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/10.51, allocations: 2.188 kB / 4.884 GB, free: 156 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009286/10.51, allocations: 0.6531 MB / 4.884 GB, free: 155.8 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004911/10.51, allocations: 0.8451 MB / 4.885 GB, free: 155.8 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00746/10.52, allocations: 2.798 MB / 4.888 GB, free: 155 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/10.52, allocations: 1.79 MB / 4.89 GB, free: 154.3 MB / 1.198 GB Notification: Performance of SimCode: time 1.373e-06/10.52, allocations: 0 / 4.89 GB, free: 154.3 MB / 1.198 GB Notification: Performance of Templates: time 0.09778/10.62, allocations: 60.53 MB / 4.949 GB, free: 153 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_dp.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches