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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001518/0.001518, allocations: 113.4 kB / 16.37 MB, free: 5.996 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.001752/0.001752, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 61.72 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2755, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002152/0.2777, allocations: 1.287 MB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009119/0.2786, allocations: 0.597 MB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.2786, allocations: 0 / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.2787, allocations: 4 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.2787, allocations: 7.922 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.2792, allocations: 148.6 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.2792, allocations: 23.88 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.2793, allocations: 3.984 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.2793, allocations: 4 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.2794, allocations: 11.92 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.2794, allocations: 0 / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004638/0.2798, allocations: 347.3 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.2799, allocations: 7.984 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.2799, allocations: 7.938 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.2801, allocations: 147.6 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.2801, allocations: 4 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2801, allocations: 0 / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2802, allocations: 0 / 1.021 GB, free: 7.246 MB / 0.795 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.0003758/0.2805, allocations: 363.3 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2806, allocations: 8.922 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.2806, allocations: 4.938 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2807, allocations: 164.4 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2807, allocations: 384 / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.2807, allocations: 384 / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.2809, allocations: 46.25 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2809, allocations: 4.125 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.2809, allocations: 7.875 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2809, allocations: 0 / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.2809, allocations: 19.98 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.2812, allocations: 252.9 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.2814, allocations: 50.56 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.2815, allocations: 20.83 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.2815, allocations: 4 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2815, allocations: 34.5 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2815, allocations: 4 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001546/0.2817, allocations: 57.69 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.2817, allocations: 51.41 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.941e-05/0.2818, allocations: 93.86 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.2818, allocations: 25.7 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.2818, allocations: 88.12 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.2819, allocations: 19.69 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.2819, allocations: 17.72 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.282, allocations: 314.8 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.282, allocations: 11.98 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.758e-05/0.2821, allocations: 17.66 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.2821, allocations: 29.72 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2821, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.401e-05/0.2822, allocations: 69.47 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2822, allocations: 7.984 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2823, allocations: 4.156 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2823, allocations: 8 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.499e-05/0.2823, allocations: 4 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2823, allocations: 4 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.2824, allocations: 0 / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.2824, allocations: 0 / 1.023 GB, free: 5.238 MB / 0.795 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 6.075e-05/0.2824, allocations: 113.8 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.2825, allocations: 0 / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.2826, allocations: 77.09 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2826, allocations: 0 / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2826, allocations: 0 / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2826, allocations: 0 / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.2828, allocations: 165.6 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2828, allocations: 0 / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.2828, allocations: 4 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2828, allocations: 0 / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.2828, allocations: 0 / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2828, allocations: 4 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2828, allocations: 0 / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.283, allocations: 167.7 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.283, allocations: 77.11 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.283, allocations: 0 / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.091e-05/0.2831, allocations: 0 / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/0.2831, allocations: 8.031 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2831, allocations: 0 / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.167e-05/0.2831, allocations: 87.27 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.492e-06/0.2831, allocations: 0 / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002449/0.2834, allocations: 27.88 kB / 1.024 GB, free: 4.418 MB / 0.795 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.0001516/0.2836, allocations: 111.2 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.441e-05/0.2836, allocations: 27.92 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2837, allocations: 0 / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.2837, allocations: 12 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.2839, allocations: 3.938 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.2841, allocations: 130.7 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.2843, allocations: 0.6768 MB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.2844, allocations: 4 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.2844, allocations: 7.438 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.2844, allocations: 0 / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of Templates: time 0.002287/0.2867, allocations: 0.5175 MB / 1.025 GB, free: 2.875 MB / 0.795 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 -s gbode -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/jenkins1/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