Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00808/0.00808, allocations: 103.5 kB / 15.74 MB, free: 6.043 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.001798/0.001798, allocations: 202.2 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3555, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002448/0.3579, allocations: 1.261 MB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.359, allocations: 0.5933 MB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.359, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.3591, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.3591, allocations: 3.938 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.3596, allocations: 143.4 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.58e-05/0.3597, allocations: 12 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.3598, allocations: 3.984 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.3598, allocations: 0 / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.782e-05/0.3598, allocations: 11.94 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.3598, allocations: 0 / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.3603, allocations: 347.3 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.3603, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.3604, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3606, allocations: 143.5 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3606, allocations: 0 / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3606, allocations: 0 / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3606, allocations: 0 / 1.223 GB, free: 11.32 MB / 0.9825 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.0004424/0.3611, allocations: 351.2 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3611, allocations: 16.03 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.3611, allocations: 4.922 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.3613, allocations: 168.3 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3613, allocations: 384 / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.3613, allocations: 8.312 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.496e-05/0.3614, allocations: 26.27 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.3614, allocations: 192 / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3614, allocations: 7.938 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3615, allocations: 0 / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.3615, allocations: 11.98 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.3617, allocations: 145.7 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.3617, allocations: 22.61 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.3618, allocations: 16.84 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3618, allocations: 3.938 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3618, allocations: 30.56 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3618, allocations: 4 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001907/0.362, allocations: 49.59 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.362, allocations: 51.41 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.3621, allocations: 97.84 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.3621, allocations: 25.7 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.3621, allocations: 84.14 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.3622, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.3622, allocations: 17.91 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3623, allocations: 314.8 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.3623, allocations: 7.938 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-06/0.3623, allocations: 4 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.3624, allocations: 12.84 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3624, allocations: 0 / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.885e-05/0.3624, allocations: 41.66 kB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3624, allocations: 8 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3624, allocations: 4.031 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3625, allocations: 4 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3626, allocations: 11.98 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000379/0.363, allocations: 0.5821 MB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.363, allocations: 4 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.363, allocations: 0 / 1.225 GB, free: 8.961 MB / 0.9825 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.99e-05/0.3631, allocations: 118.4 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.3631, allocations: 4 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.3632, allocations: 48.75 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3632, allocations: 0 / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3632, allocations: 0 / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3632, allocations: 0 / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.3633, allocations: 157.6 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3633, allocations: 0 / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.3634, allocations: 11.98 kB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.3634, allocations: 4.031 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3634, allocations: 0 / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003201/0.3637, allocations: 0.586 MB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3637, allocations: 3.938 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.64e-05/0.3638, allocations: 69 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.3639, allocations: 81.23 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3639, allocations: 4 kB / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.3639, allocations: 4 kB / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.3639, allocations: 3.938 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.3639, allocations: 0 / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.3639, allocations: 75.28 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3639, allocations: 4 kB / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001952/0.3641, allocations: 7.938 kB / 1.226 GB, free: 7.668 MB / 0.9825 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002723/0.3644, allocations: 115.3 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000169/0.3646, allocations: 23.98 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3646, allocations: 0 / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.3647, allocations: 15.92 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.3648, allocations: 1.891 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.3652, allocations: 118 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.3654, allocations: 0.6729 MB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.493e-05/0.3654, allocations: 0 / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.3655, allocations: 7.438 kB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3655, allocations: 0 / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of Templates: time 0.002647/0.3681, allocations: 472.5 kB / 1.228 GB, free: 6.23 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches