Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 99.86 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.001601/0.001601, allocations: 177.3 kB / 15.94 MB, free: 228 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.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.551/2.551, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 12 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.6499, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001461/0.6515, allocations: 0.969 MB / 1.022 GB, free: 120 kB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.0006103/0.6521, allocations: 319.1 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.6521, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.6522, allocations: 7.984 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.6522, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.6526, allocations: 63.78 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.873e-05/0.6527, allocations: 8 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.6527, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.6527, allocations: 11.97 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.6528, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.6528, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.6531, allocations: 179.7 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.6532, allocations: 7.984 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.6532, allocations: 29.64 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.6533, allocations: 49.92 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.6533, allocations: 0 / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6533, allocations: 0 / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.6534, allocations: 0 / 1.022 GB, free: 15.44 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000393/0.6538, allocations: 331.3 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.6538, allocations: 11.98 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.6538, allocations: 0 / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.654, allocations: 167.1 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.654, allocations: 4 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.654, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.84e-05/0.6541, allocations: 37.66 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6541, allocations: 0 / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.6542, allocations: 0 / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6542, allocations: 0 / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.6542, allocations: 7.938 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.6544, allocations: 157.6 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.6545, allocations: 22.58 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.6545, allocations: 0 / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6545, allocations: 30.56 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.6545, allocations: 0 / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.6547, allocations: 53.64 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.6548, allocations: 51.41 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.022e-05/0.6548, allocations: 97.98 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.6549, allocations: 29.7 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.6549, allocations: 80.14 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.6549, allocations: 3.906 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.655, allocations: 0 / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6551, allocations: 314.8 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.6551, allocations: 11.94 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.6551, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.6551, allocations: 8.188 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6551, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.271e-05/0.6552, allocations: 37.64 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6552, allocations: 4 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6552, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.6552, allocations: 11.94 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.6554, allocations: 4 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003706/0.6558, allocations: 0.59 MB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.6558, allocations: 4 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.6559, allocations: 0 / 1.024 GB, free: 13.16 MB / 0.7794 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 () * Number of clocked 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 8.124e-05/0.6559, allocations: 113.8 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.656, allocations: 11.89 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.6561, allocations: 44.77 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6561, allocations: 3.984 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6561, allocations: 128 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6561, allocations: 7.984 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.974e-05/0.6562, allocations: 149.7 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.6562, allocations: 0 / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.6563, allocations: 15.94 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.6563, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.6563, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002972/0.6566, allocations: 0.5821 MB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.6566, allocations: 4.094 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.053e-05/0.6567, allocations: 73.05 kB / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.6568, allocations: 77.11 kB / 1.025 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.6568, allocations: 0 / 1.025 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.6568, allocations: 0 / 1.025 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.6568, allocations: 4 kB / 1.025 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.6568, allocations: 3.984 kB / 1.025 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.906e-05/0.6569, allocations: 79.31 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6569, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001977/0.6571, allocations: 16 kB / 1.026 GB, free: 11.86 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 (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.0001796/0.6573, allocations: 111.2 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.6574, allocations: 19.92 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6575, allocations: 4 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.6576, allocations: 16.16 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.6577, allocations: 4.516 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.658, allocations: 115.1 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.6582, allocations: 0.6809 MB / 1.026 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.004e-05/0.6583, allocations: 0 / 1.026 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.6583, allocations: 11.5 kB / 1.026 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6583, allocations: 0 / 1.026 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.002477/0.6608, allocations: 413.2 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches