Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003544, allocations: 8 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.6409, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001251/0.6422, allocations: 1.008 MB / 1.022 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008573/0.643, allocations: 0.5182 MB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.6431, allocations: 0 / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.6431, allocations: 4 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.6432, allocations: 3.984 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.6437, allocations: 119.6 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.683e-05/0.6437, allocations: 11.98 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.6438, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.6438, allocations: 4 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.6439, allocations: 19.92 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.6439, allocations: 0 / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.6444, allocations: 359.4 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.6444, allocations: 7.984 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.6445, allocations: 25.7 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.6447, allocations: 97.8 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.6447, allocations: 0 / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6447, allocations: 0 / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.6447, allocations: 4 kB / 1.023 GB, free: 14.93 MB / 0.7794 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.0003955/0.6451, allocations: 359.2 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6451, allocations: 15.97 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.6452, allocations: 4 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.6453, allocations: 163 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.6453, allocations: 0 / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.6453, allocations: 4 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.6454, allocations: 45.58 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.6454, allocations: 0 / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.6455, allocations: 0 / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.6455, allocations: 4 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.6455, allocations: 19.98 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.6459, allocations: 252.9 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.6461, allocations: 50.62 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.6461, allocations: 0 / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.6461, allocations: 34.56 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6461, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001676/0.6463, allocations: 61.88 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.6463, allocations: 51.41 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.6464, allocations: 101.8 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.6464, allocations: 29.69 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.6465, allocations: 84.12 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.6465, allocations: 15.81 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.6465, allocations: 3.938 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6466, allocations: 318.8 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.6467, allocations: 11.98 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.6467, allocations: 17.72 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.6467, allocations: 12 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6467, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.664e-05/0.6468, allocations: 61.58 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6469, allocations: 8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6469, allocations: 32 / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6469, allocations: 4 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.6469, allocations: 11.98 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.647, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.647, allocations: 3.938 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.647, allocations: 7.938 kB / 1.025 GB, free: 12.99 MB / 0.7794 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 () * Number of clocked 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 7.695e-05/0.6471, allocations: 105.8 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.6471, allocations: 11.86 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.6473, allocations: 69.11 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6473, allocations: 3.984 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6473, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6473, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.6474, allocations: 153.7 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6475, allocations: 0 / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.6475, allocations: 8 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6475, allocations: 3.953 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.6475, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6475, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6475, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.6476, allocations: 147.5 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.6477, allocations: 81.02 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.6477, allocations: 7.891 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.6478, allocations: 7.984 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.6478, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.6478, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.6478, allocations: 83.28 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6478, allocations: 4 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002639/0.6481, allocations: 16 kB / 1.025 GB, free: 12.2 MB / 0.7794 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 () * Number of clocked 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.0001713/0.6483, allocations: 123.2 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.033e-05/0.6484, allocations: 20.47 kB / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6484, allocations: 0 / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.6484, allocations: 19.92 kB / 1.025 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.6486, allocations: 1.719 kB / 1.025 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.6488, allocations: 136.6 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.6491, allocations: 0.6811 MB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.161e-05/0.6491, allocations: 0 / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.6491, allocations: 11.44 kB / 1.026 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.6491, allocations: 0 / 1.026 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of Templates: time 0.002399/0.6515, allocations: 0.4922 MB / 1.027 GB, free: 10.66 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches