Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") [: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.036/2.036, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001139/0.001139, allocations: 177.3 kB / 487 MB, free: 5.344 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.486/1.486, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.001031/0.00103, allocations: 82.45 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.782e-06/6.803e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2932, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.5/4.794, allocations: 1.945 GB / 3.15 GB, free: 362.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/4.794, allocations: 87.95 kB / 3.15 GB, free: 362.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.798/9.592, allocations: 1.674 GB / 4.825 GB, free: 2.688 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0002712/9.593, allocations: 67.91 kB / 4.825 GB, free: 2.621 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.007419/9.6, allocations: 2.528 MB / 4.827 GB, free: 44 kB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/9.6, allocations: 8.031 kB / 4.827 GB, free: 36 kB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.59/10.19, allocations: 1.081 MB / 4.828 GB, free: 291.1 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008248/10.2, allocations: 2.793 MB / 4.831 GB, free: 290.7 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.065e-05/10.2, allocations: 48.09 kB / 4.831 GB, free: 290.7 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/10.2, allocations: 89.28 kB / 4.831 GB, free: 290.7 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002371/10.2, allocations: 1.26 MB / 4.832 GB, free: 290.7 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/10.2, allocations: 1.427 MB / 4.834 GB, free: 290.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/10.2, allocations: 3.562 kB / 4.834 GB, free: 290.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/10.2, allocations: 9.219 kB / 4.834 GB, free: 290.5 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/10.2, allocations: 47.44 kB / 4.834 GB, free: 290.5 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/10.21, allocations: 7.808 MB / 4.841 GB, free: 286.7 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/10.22, allocations: 0.8972 MB / 4.842 GB, free: 286.7 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007925/10.22, allocations: 0.5507 MB / 4.843 GB, free: 286.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/10.22, allocations: 278.5 kB / 4.843 GB, free: 286.4 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/10.22, allocations: 42.02 kB / 4.843 GB, free: 286.3 MB / 1.198 GB Notification: Performance of pre-optimization done (n=78): time 2.946e-06/10.22, allocations: 3.5 kB / 4.843 GB, free: 286.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=78): time 0.003861/10.22, allocations: 1.168 MB / 4.844 GB, free: 286.2 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/10.22, allocations: 59.19 kB / 4.844 GB, free: 286.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/10.22, allocations: 1.302 MB / 4.846 GB, free: 285.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/10.22, allocations: 25.7 kB / 4.846 GB, free: 285.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/10.22, allocations: 0.6219 MB / 4.846 GB, free: 285.6 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/10.22, allocations: 269.2 kB / 4.846 GB, free: 285.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/10.22, allocations: 0 / 4.846 GB, free: 285.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.436e-05/10.22, allocations: 343.9 kB / 4.847 GB, free: 285.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/10.22, allocations: 370.5 kB / 4.847 GB, free: 285.2 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007013/10.23, allocations: 0.7649 MB / 4.848 GB, free: 284.7 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/10.23, allocations: 0.5226 MB / 4.848 GB, free: 284.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/10.23, allocations: 3.969 kB / 4.848 GB, free: 284.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00301/10.23, allocations: 1.367 MB / 4.85 GB, free: 284.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009388/10.23, allocations: 3.832 MB / 4.853 GB, free: 280.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/10.23, allocations: 9.594 kB / 4.853 GB, free: 280.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/10.23, allocations: 103.7 kB / 4.854 GB, free: 280.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/10.23, allocations: 290.9 kB / 4.854 GB, free: 280.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/10.23, allocations: 2.229 MB / 4.856 GB, free: 278.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/10.24, allocations: 192.2 kB / 4.856 GB, free: 278.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/10.24, allocations: 57 kB / 4.856 GB, free: 278.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/10.24, allocations: 7.656 kB / 4.856 GB, free: 278.7 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002593/10.24, allocations: 1.06 MB / 4.857 GB, free: 278.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/10.24, allocations: 7.75 kB / 4.857 GB, free: 278.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/10.24, allocations: 111.3 kB / 4.857 GB, free: 278.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/10.24, allocations: 261 kB / 4.858 GB, free: 278.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/10.24, allocations: 1.639 MB / 4.859 GB, free: 277.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/10.24, allocations: 166.3 kB / 4.859 GB, free: 277.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/10.24, allocations: 51.94 kB / 4.859 GB, free: 277.5 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 (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000349/10.25, allocations: 147.1 kB / 4.86 GB, free: 277.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/10.25, allocations: 184.1 kB / 4.86 GB, free: 277.3 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/10.25, allocations: 1.132 MB / 4.861 GB, free: 277.2 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/10.25, allocations: 11.31 kB / 4.861 GB, free: 277.2 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/10.25, allocations: 0 / 4.861 GB, free: 277.2 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001812/10.25, allocations: 0.9333 MB / 4.862 GB, free: 277 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005196/10.26, allocations: 2.703 MB / 4.864 GB, free: 276.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/10.26, allocations: 2.625 kB / 4.864 GB, free: 276.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/10.26, allocations: 217.2 kB / 4.865 GB, free: 276.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002949/10.26, allocations: 98.97 kB / 4.865 GB, free: 276.5 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/10.26, allocations: 11.3 kB / 4.865 GB, free: 276.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/10.26, allocations: 2.223 MB / 4.867 GB, free: 274.7 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/10.26, allocations: 0 / 4.867 GB, free: 274.7 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003011/10.26, allocations: 1.686 MB / 4.869 GB, free: 274.3 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000923/10.26, allocations: 353.8 kB / 4.869 GB, free: 274.1 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004598/10.26, allocations: 2.781 kB / 4.869 GB, free: 274.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/10.26, allocations: 122.1 kB / 4.869 GB, free: 274.1 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/10.27, allocations: 48.8 kB / 4.869 GB, free: 274.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/10.27, allocations: 34.75 kB / 4.869 GB, free: 274.1 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.001532/10.27, allocations: 0.9882 MB / 4.87 GB, free: 274 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004789/10.27, allocations: 1.299 MB / 4.871 GB, free: 273.9 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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005953/10.28, allocations: 4.392 MB / 4.876 GB, free: 272.2 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003219/10.28, allocations: 1.723 MB / 4.877 GB, free: 272 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/10.28, allocations: 0 / 4.877 GB, free: 272 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007448/10.28, allocations: 0.5264 MB / 4.878 GB, free: 271.9 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004353/10.29, allocations: 0.8183 MB / 4.879 GB, free: 271.9 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007129/10.29, allocations: 2.775 MB / 4.881 GB, free: 271.2 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/10.29, allocations: 1.772 MB / 4.883 GB, free: 270.4 MB / 1.198 GB Notification: Performance of SimCode: time 9.02e-07/10.29, allocations: 1.969 kB / 4.883 GB, free: 270.4 MB / 1.198 GB Notification: Performance of Templates: time 0.1051/10.4, allocations: 59.54 MB / 4.941 GB, free: 269.2 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches