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.008404/0.008404, allocations: 102 kB / 15.73 MB, free: 6.062 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.002003/0.002003, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.389/2.389, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.9508 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.802/0.8033, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002428/0.8058, allocations: 1.294 MB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.8068, allocations: 0.5943 MB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.8069, allocations: 0 / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.8069, allocations: 4.5 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.8069, allocations: 5.641 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.8075, allocations: 140.5 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.8076, allocations: 28.2 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.8076, allocations: 6.891 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.8077, allocations: 8.922 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.8077, allocations: 10.17 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.8078, allocations: 1.312 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006116/0.8084, allocations: 346.2 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.8084, allocations: 1.734 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.8084, allocations: 13.12 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.8088, allocations: 146.4 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.8088, allocations: 0 / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8088, allocations: 0 / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.8088, allocations: 0.8125 kB / 1.09 GB, free: 3.934 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.0004304/0.8092, allocations: 361.1 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.8093, allocations: 9.531 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.8093, allocations: 6.578 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.574e-05/0.8094, allocations: 162.6 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.8094, allocations: 1.969 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.8094, allocations: 2 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.8096, allocations: 40.19 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.8096, allocations: 1.766 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.8096, allocations: 7.938 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.8096, allocations: 1.031 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.752e-05/0.8097, allocations: 18.58 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.81, allocations: 253.9 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.8102, allocations: 46.33 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.8102, allocations: 21.94 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.8103, allocations: 1.891 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.8103, allocations: 39.62 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8103, allocations: 0 / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001714/0.8105, allocations: 59.97 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.8105, allocations: 53.03 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.626e-05/0.8106, allocations: 104.4 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.8106, allocations: 25.7 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.8106, allocations: 89.72 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.8106, allocations: 19.33 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.8107, allocations: 18.7 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.8107, allocations: 313.6 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.8107, allocations: 4.797 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.8108, allocations: 20.42 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.8108, allocations: 42.69 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.8108, allocations: 0.7031 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.055e-05/0.8109, allocations: 55.38 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.811, allocations: 9.938 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.811, allocations: 0.75 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.811, allocations: 0.875 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.185e-05/0.8111, allocations: 8.031 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.8111, allocations: 1.438 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.8111, allocations: 5.391 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.8111, allocations: 2.156 kB / 1.092 GB, free: 2.148 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 5.376e-05/0.8112, allocations: 115.9 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.8112, allocations: 6.469 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.8113, allocations: 62.39 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8114, allocations: 0.9688 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8114, allocations: 0 / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8114, allocations: 0.6562 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.8115, allocations: 163.1 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.8115, allocations: 0 / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.8116, allocations: 14.61 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8116, allocations: 1.609 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.8116, allocations: 0.5938 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.8116, allocations: 0.5938 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8116, allocations: 0.7969 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.8117, allocations: 147.2 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.8117, allocations: 83.7 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.8118, allocations: 0.7812 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.03e-05/0.8118, allocations: 4.75 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.8118, allocations: 6.594 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.8118, allocations: 5.75 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.8119, allocations: 79.06 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.073e-06/0.8119, allocations: 0 / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002559/0.8121, allocations: 26.77 kB / 1.093 GB, free: 1.43 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.0001741/0.8123, allocations: 123.6 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.8124, allocations: 21.81 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8124, allocations: 4 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.8125, allocations: 17.94 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.8127, allocations: 5.781 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.813, allocations: 115.5 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.8131, allocations: 0.677 MB / 1.094 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.8132, allocations: 7.719 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.8132, allocations: 9.594 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.8132, allocations: 0 / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of Templates: time 0.002761/0.816, allocations: 0.5159 MB / 1.094 GB, free: 408 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/jenkins/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