Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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 1.882/1.882, 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.001025/0.001025, allocations: 177.3 kB / 487 MB, free: 5.348 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.28/1.28, allocations: 221.3 MB / 0.7819 GB, free: 1.32 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.001044/0.001045, allocations: 92.95 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/7.745e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2563, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6528/0.9092, allocations: 149 MB / 1.351 GB, free: 16.12 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001714/0.9094, allocations: 76.02 kB / 1.351 GB, free: 16.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.009451/0.9188, allocations: 3.131 MB / 1.354 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.9189, allocations: 0 / 1.354 GB, free: 15.93 MB / 0.8073 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.0001849/0.9191, allocations: 334.6 kB / 1.354 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.9191, allocations: 9.562 kB / 1.354 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.9191, allocations: 1.562 kB / 1.354 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.994e-05/0.9192, allocations: 167.9 kB / 1.354 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.9192, allocations: 0.5156 kB / 1.354 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.9192, allocations: 5.031 kB / 1.354 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.334e-05/0.9193, allocations: 6.812 kB / 1.354 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.216e-05/0.9193, allocations: 31.16 kB / 1.354 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.9194, allocations: 4 kB / 1.354 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.9194, allocations: 0.5938 kB / 1.354 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.9194, allocations: 1.312 kB / 1.354 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.031e-05/0.9195, allocations: 134.3 kB / 1.355 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.647e-05/0.9195, allocations: 23.3 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.9195, allocations: 8.094 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.9196, allocations: 0.75 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.138e-05/0.9196, allocations: 36.27 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.9196, allocations: 3.938 kB / 1.355 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001007/0.9197, allocations: 37.45 kB / 1.355 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.409e-05/0.9197, allocations: 56.31 kB / 1.355 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.624e-05/0.9197, allocations: 87.8 kB / 1.355 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-06/0.9198, allocations: 25.7 kB / 1.355 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.022e-05/0.9198, allocations: 81.14 kB / 1.355 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.9198, allocations: 13.23 kB / 1.355 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.9198, allocations: 0 / 1.355 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.431e-05/0.9198, allocations: 313.8 kB / 1.355 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.9199, allocations: 1.438 kB / 1.355 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-06/0.9199, allocations: 1.625 kB / 1.355 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.211e-05/0.9199, allocations: 2.922 kB / 1.355 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9199, allocations: 1.031 kB / 1.355 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.203e-05/0.9199, allocations: 45.25 kB / 1.355 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.92, allocations: 6.016 kB / 1.355 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.92, allocations: 4 kB / 1.355 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.92, allocations: 0.9375 kB / 1.355 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.9201, allocations: 13.39 kB / 1.355 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002211/0.9204, allocations: 0.5865 MB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.9204, allocations: 1.719 kB / 1.356 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.9204, allocations: 1.031 kB / 1.356 GB, free: 13.84 MB / 0.8073 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 3.988e-05/0.9204, allocations: 107.2 kB / 1.356 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.9205, allocations: 4.906 kB / 1.356 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.9206, allocations: 46.86 kB / 1.356 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.9206, allocations: 0.9062 kB / 1.356 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.9206, allocations: 4.734 kB / 1.356 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9206, allocations: 1.031 kB / 1.356 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.761e-05/0.9206, allocations: 129.5 kB / 1.356 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9206, allocations: 5.812 kB / 1.356 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.9207, allocations: 8.844 kB / 1.356 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9207, allocations: 0.75 kB / 1.356 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.9207, allocations: 4.438 kB / 1.356 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001747/0.9209, allocations: 0.5868 MB / 1.357 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9209, allocations: 4.875 kB / 1.357 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.694e-05/0.921, allocations: 72.05 kB / 1.357 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.921, allocations: 79.23 kB / 1.357 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.921, allocations: 1.062 kB / 1.357 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.921, allocations: 0 / 1.357 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.9211, allocations: 1.766 kB / 1.357 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.9211, allocations: 4.625 kB / 1.357 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.445e-05/0.9211, allocations: 77.77 kB / 1.357 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000201/0.9213, allocations: 21.28 kB / 1.357 GB, free: 12.68 MB / 0.8073 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.0001461/0.9214, allocations: 113.5 kB / 1.357 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.9216, allocations: 18.53 kB / 1.357 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9216, allocations: 3.938 kB / 1.357 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/0.9217, allocations: 17.12 kB / 1.357 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.9219, allocations: 1.75 kB / 1.357 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001371/0.922, allocations: 52.61 kB / 1.357 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.9222, allocations: 0.6848 MB / 1.358 GB, free: 27.81 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.9222, allocations: 0 / 1.358 GB, free: 27.81 MB / 0.823 GB Notification: Performance of Templates: time 0.002147/0.9243, allocations: 428.9 kB / 1.358 GB, free: 27.76 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches