Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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 7.0.3-maint.7.0.x/package.mo): time 1.162/1.162, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.0009/0.0009, allocations: 180.4 kB / 316 MB, free: 3.57 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.004/1.004, allocations: 205.1 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.0007981/0.000798, allocations: 83.06 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.101e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1335, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.5113, allocations: 132.4 MB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.5115, allocations: 81.31 kB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.006209/0.5177, allocations: 1.947 MB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.5177, allocations: 0 / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002148/0.5179, allocations: 330.3 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.518, allocations: 8.031 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.518, allocations: 6.75 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.097e-05/0.5181, allocations: 159.1 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.5181, allocations: 0 / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-06/0.5181, allocations: 4 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.95e-05/0.5182, allocations: 7.375 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.82e-05/0.5182, allocations: 37.55 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.5182, allocations: 3.938 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.5182, allocations: 3.984 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5183, allocations: 0 / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.5184, allocations: 130.2 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.638e-05/0.5184, allocations: 28.67 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.5184, allocations: 8.859 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.5185, allocations: 3.984 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.5185, allocations: 34.62 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.5185, allocations: 0 / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001019/0.5186, allocations: 45.03 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.5186, allocations: 55.41 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.962e-05/0.5187, allocations: 89.03 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.5187, allocations: 25.7 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.085e-05/0.5187, allocations: 80.14 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.5187, allocations: 7.906 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-06/0.5187, allocations: 0 / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.5188, allocations: 314.5 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.5188, allocations: 0 / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.5189, allocations: 4 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.321e-05/0.5189, allocations: 4.172 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.5189, allocations: 7.938 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.214e-05/0.5189, allocations: 37.2 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.519, allocations: 8 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.519, allocations: 0 / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.675e-06/0.519, allocations: 3.938 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.5191, allocations: 11.98 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003063/0.5194, allocations: 0.5895 MB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.5194, allocations: 0 / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.5195, allocations: 0 / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 5.518e-05/0.5195, allocations: 104.9 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.5195, allocations: 4 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.435e-05/0.5196, allocations: 48.45 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5196, allocations: 7.938 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5196, allocations: 4.125 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.5196, allocations: 0 / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.57e-05/0.5197, allocations: 130.1 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5197, allocations: 4.875 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.5198, allocations: 7.984 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5198, allocations: 4 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.5198, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002655/0.5201, allocations: 0.5922 MB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5201, allocations: 0 / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.011e-05/0.5202, allocations: 68.72 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.5202, allocations: 81.02 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.5202, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.5202, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.5203, allocations: 4 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.5203, allocations: 128 / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.332e-05/0.5203, allocations: 79.28 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001711/0.5205, allocations: 15.98 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0001348/0.5206, allocations: 111.2 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.5208, allocations: 23.55 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5208, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.5209, allocations: 16.14 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.912e-05/0.521, allocations: 12.42 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001196/0.5211, allocations: 51.83 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.5213, allocations: 0.6802 MB / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of SimCode: time 2.1e-07/0.5213, allocations: 0 / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of Templates: time 0.001805/0.5231, allocations: 451 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches