Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001559/0.00156, allocations: 102.2 kB / 16.4 MB, free: 6.461 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.001396/0.001396, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.838/0.8392, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002362/0.8416, allocations: 1.281 MB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009353/0.8426, allocations: 0.5983 MB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.8426, allocations: 4.656 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.8427, allocations: 0.8438 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.8427, allocations: 9.609 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.8433, allocations: 144.6 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.8434, allocations: 24.28 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.8434, allocations: 3.047 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.8435, allocations: 4.938 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.8435, allocations: 10.34 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.8435, allocations: 1.156 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005856/0.8441, allocations: 344.8 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.8442, allocations: 9.781 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.8442, allocations: 12.66 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.8445, allocations: 146.6 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8445, allocations: 1.312 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8445, allocations: 0 / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.8445, allocations: 0 / 1.091 GB, free: 3.938 MB / 0.8575 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.000386/0.8449, allocations: 356.1 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.845, allocations: 8.812 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.845, allocations: 2.062 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.666e-05/0.8451, allocations: 174.7 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.8451, allocations: 1.562 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.8451, allocations: 2.719 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.8452, allocations: 45.47 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.8452, allocations: 192 / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.8453, allocations: 4.641 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.8453, allocations: 1.438 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.8453, allocations: 22.53 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.8456, allocations: 253.3 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.8458, allocations: 50.16 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.8458, allocations: 18.38 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.8459, allocations: 0.75 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.8459, allocations: 37.14 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.8459, allocations: 0 / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000169/0.8461, allocations: 63.25 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.8461, allocations: 52.95 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.694e-05/0.8462, allocations: 95.52 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.8462, allocations: 25.7 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.8462, allocations: 93.89 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.8462, allocations: 6.578 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.8463, allocations: 19.56 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.8463, allocations: 313.2 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.8463, allocations: 13.09 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.8464, allocations: 17.78 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.252e-05/0.8464, allocations: 34.05 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8464, allocations: 0.75 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.518e-05/0.8465, allocations: 67.69 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8465, allocations: 4.906 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8466, allocations: 0.7812 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.8466, allocations: 5.344 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.911e-05/0.8466, allocations: 7.969 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.8466, allocations: 1.484 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.8467, allocations: 5.469 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.8467, allocations: 5.406 kB / 1.093 GB, free: 2.152 MB / 0.8575 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 4.613e-05/0.8467, allocations: 112.6 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.8468, allocations: 6 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.8469, allocations: 66.03 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8469, allocations: 0.7188 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8469, allocations: 0.5312 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8469, allocations: 2.016 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.8471, allocations: 158.8 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8471, allocations: 0 / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.8471, allocations: 7.125 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8471, allocations: 0.5312 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.8471, allocations: 0.6562 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8471, allocations: 0.875 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.8471, allocations: 4.5 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.718e-05/0.8472, allocations: 159.3 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.8473, allocations: 79.36 kB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.8473, allocations: 5.641 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/0.8473, allocations: 0 / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.8474, allocations: 3.688 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.8474, allocations: 0.9062 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.8474, allocations: 83.08 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8474, allocations: 7.938 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002498/0.8476, allocations: 18.73 kB / 1.094 GB, free: 1.438 MB / 0.8575 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.0001829/0.8478, allocations: 122.8 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.8479, allocations: 22.2 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.848, allocations: 0.625 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.848, allocations: 16.75 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.8482, allocations: 7.438 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.8485, allocations: 145.2 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.8487, allocations: 0.6764 MB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.8487, allocations: 10.47 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.8487, allocations: 0 / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of Templates: time 0.002568/0.8513, allocations: 0.7022 MB / 1.095 GB, free: 432 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches