Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_10_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_10_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.001049/0.001049, allocations: 98.19 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.008454/0.008454, allocations: 169.6 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.493/1.493, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 12 kB / 0.8728 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.7023, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001334/0.7036, allocations: 1.019 MB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.7048, allocations: 0.5957 MB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.7048, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.7048, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.415e-05/0.7049, allocations: 3.984 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.7054, allocations: 129.5 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.7055, allocations: 27.86 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.7055, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.7056, allocations: 7.938 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.7056, allocations: 7.984 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.7057, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.7061, allocations: 347.3 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.7061, allocations: 7.938 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.7062, allocations: 29.7 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.7064, allocations: 149.6 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7064, allocations: 4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.41e-07/0.7064, allocations: 3.938 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7065, allocations: 0 / 1.025 GB, free: 13.57 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.0004352/0.7069, allocations: 355.5 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.7069, allocations: 8.031 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.707, allocations: 4.875 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.7071, allocations: 172.3 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.7071, allocations: 384 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.7071, allocations: 4.375 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.7073, allocations: 38.27 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7073, allocations: 192 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.7073, allocations: 7.922 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.7073, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.7074, allocations: 19.94 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.7077, allocations: 249 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.7079, allocations: 50.56 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.708, allocations: 16.84 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.708, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.708, allocations: 34.56 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.708, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002011/0.7082, allocations: 61.53 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.7083, allocations: 55.41 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.03e-05/0.7084, allocations: 105.8 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.7084, allocations: 25.7 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.7084, allocations: 80.14 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.7084, allocations: 15.81 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.7085, allocations: 9.719 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7086, allocations: 314.8 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.7086, allocations: 8 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.7087, allocations: 21.72 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.7087, allocations: 37.64 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7087, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.536e-05/0.7088, allocations: 61.98 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.7088, allocations: 4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.7088, allocations: 4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.7089, allocations: 3.938 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.7089, allocations: 8 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.7089, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.7089, allocations: 11.88 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.709, allocations: 4 kB / 1.027 GB, free: 11.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.7091, allocations: 115.6 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.7091, allocations: 7.922 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.7093, allocations: 65.11 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7093, allocations: 0 / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7093, allocations: 0 / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.7093, allocations: 4 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.7094, allocations: 165.7 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.7095, allocations: 4 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.7095, allocations: 4 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.7095, allocations: 4 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.7095, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.7095, allocations: 3.984 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7095, allocations: 3.984 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.7097, allocations: 147.5 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.7097, allocations: 85.02 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.7097, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.9e-05/0.7098, allocations: 8 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.7098, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.7098, allocations: 3.938 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.7098, allocations: 83.27 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7098, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000246/0.7101, allocations: 16 kB / 1.028 GB, free: 10.76 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001762/0.7103, allocations: 123.2 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.291e-05/0.7104, allocations: 27.98 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7104, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.957e-05/0.7104, allocations: 11.94 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.7106, allocations: 3.938 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.7109, allocations: 140.6 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.7112, allocations: 0.681 MB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.7112, allocations: 0 / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.7112, allocations: 11.44 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7112, allocations: 0 / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of Templates: time 0.002506/0.7138, allocations: 0.4967 MB / 1.029 GB, free: 9.211 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches