Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 249.5 MB / 257 MB, free: 6.941 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.00105/0.00105, allocations: 180.9 kB / 316.3 MB, free: 3.215 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.296/1.296, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.000886/0.000886, allocations: 97.83 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.091e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6056/0.777, allocations: 133.6 MB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.7773, allocations: 82.69 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01592/0.7932, allocations: 5.294 MB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7932, allocations: 0 / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.7932, allocations: 4 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003491/0.7936, allocations: 361.5 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.7937, allocations: 12.03 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.7937, allocations: 3.953 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.7938, allocations: 159.1 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.7938, allocations: 4.938 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.7938, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.53e-05/0.7939, allocations: 15.05 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.806e-05/0.794, allocations: 37.64 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.794, allocations: 4 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.794, allocations: 0 / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.794, allocations: 0 / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.7944, allocations: 238.9 kB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.7946, allocations: 40.81 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.7946, allocations: 16.11 kB / 1.022 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.7947, allocations: 7.938 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.7947, allocations: 34.56 kB / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.7947, allocations: 0 / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001571/0.7949, allocations: 60.17 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.7949, allocations: 51.41 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.795, allocations: 96.89 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.795, allocations: 25.7 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.7951, allocations: 84.12 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.7951, allocations: 19.31 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.7951, allocations: 0 / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7952, allocations: 314.8 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.7952, allocations: 7.375 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.7953, allocations: 16.91 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.189e-05/0.7953, allocations: 7.984 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7953, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.285e-05/0.7954, allocations: 61.06 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.7954, allocations: 4 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.7954, allocations: 0 / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.7954, allocations: 0 / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.593e-05/0.7955, allocations: 11.25 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.7955, allocations: 0 / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.7955, allocations: 4 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.7956, allocations: 3.953 kB / 1.023 GB, free: 13.97 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.764e-05/0.7956, allocations: 105 kB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.7957, allocations: 11.94 kB / 1.023 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.7958, allocations: 56.38 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.7958, allocations: 0 / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7958, allocations: 4 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.7958, allocations: 0 / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.796, allocations: 141.4 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.796, allocations: 0 / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.796, allocations: 4 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.796, allocations: 0 / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.796, allocations: 8 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.796, allocations: 3.984 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.796, allocations: 0 / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.7962, allocations: 142.9 kB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.7962, allocations: 88.95 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.7962, allocations: 0 / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.7963, allocations: 0 / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.7963, allocations: 3.5 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.7963, allocations: 8 kB / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.822e-05/0.7963, allocations: 75.66 kB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7963, allocations: 0 / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002575/0.7966, allocations: 23.98 kB / 1.023 GB, free: 13.23 MB / 0.6511 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001929/0.7968, allocations: 127.1 kB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.442e-05/0.7969, allocations: 27.69 kB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7969, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.7969, allocations: 15.11 kB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.7971, allocations: 8.016 kB / 1.023 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.7973, allocations: 57.73 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.7975, allocations: 0.6806 MB / 1.024 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.7976, allocations: 4 kB / 1.024 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.7976, allocations: 11.44 kB / 1.024 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.7976, allocations: 0 / 1.024 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of Templates: time 0.002185/0.7998, allocations: 486.8 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches