Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001351/0.00135, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008767/0.008767, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 12 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.7008, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001282/0.7021, allocations: 0.9844 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.7031, allocations: 0.5879 MB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.7031, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.7031, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.7032, allocations: 7.922 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.7036, allocations: 123.5 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.948e-05/0.7037, allocations: 8 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.7037, allocations: 4 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.002e-05/0.7037, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.594e-05/0.7038, allocations: 7.938 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.7038, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.7043, allocations: 347.3 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.7043, allocations: 3.844 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.7044, allocations: 29.7 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.7046, allocations: 149.6 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7046, allocations: 4 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7046, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.7046, allocations: 0 / 1.025 GB, free: 13.58 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.0003525/0.705, allocations: 347.5 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.705, allocations: 12.03 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.7051, allocations: 0.9375 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.7052, allocations: 160.4 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.7052, allocations: 4.375 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.7052, allocations: 8.312 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.916e-05/0.7053, allocations: 34.25 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.7053, allocations: 192 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.7053, allocations: 3.938 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.7054, allocations: 4 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.7054, allocations: 4 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.7055, allocations: 149.7 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.7056, allocations: 30.59 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.7056, allocations: 16.86 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.7056, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.7057, allocations: 34.5 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.7057, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.7058, allocations: 49.62 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.7059, allocations: 51.41 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.7059, allocations: 97.98 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.706, allocations: 29.7 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.706, allocations: 80.14 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.706, allocations: 7.844 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.706, allocations: 9.719 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7061, allocations: 318.8 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.7062, allocations: 3.938 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.338e-05/0.7062, allocations: 8 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.7062, allocations: 13.05 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7062, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.786e-05/0.7063, allocations: 41.69 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7063, allocations: 4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7063, allocations: 3.938 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.7063, allocations: 4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.7065, allocations: 4 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003324/0.7068, allocations: 0.5976 MB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.7069, allocations: 3.938 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.7069, allocations: 0 / 1.027 GB, free: 11.23 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 (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 6.8e-05/0.7069, allocations: 110.3 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-06/0.707, allocations: 4.031 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.8e-05/0.7071, allocations: 44.81 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7071, allocations: 8.062 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7071, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.7071, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.484e-05/0.7072, allocations: 153.6 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7072, allocations: 3.984 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.7073, allocations: 8 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7073, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.7073, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002739/0.7076, allocations: 0.5821 MB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7076, allocations: 3.938 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.248e-05/0.7077, allocations: 69.09 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.7077, allocations: 81.05 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.7077, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.7077, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.7078, allocations: 11.92 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.7078, allocations: 12.12 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.7078, allocations: 75.28 kB / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7078, allocations: 0 / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001926/0.708, allocations: 8 kB / 1.028 GB, free: 9.938 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 (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.0001559/0.7082, allocations: 111.2 kB / 1.028 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.7083, allocations: 20.02 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.7083, allocations: 8.156 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.002e-05/0.7084, allocations: 15.94 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.7086, allocations: 7.984 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.7089, allocations: 107.1 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.7091, allocations: 0.6731 MB / 1.029 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.766e-05/0.7091, allocations: 4.062 kB / 1.029 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/0.7091, allocations: 11.44 kB / 1.029 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7091, allocations: 3.938 kB / 1.029 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of Templates: time 0.002377/0.7115, allocations: 436.7 kB / 1.03 GB, free: 8.523 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches