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.001191/0.001191, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001217/0.001218, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.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.689/2.689, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004224, allocations: 19.94 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7909/0.7913, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001515/0.7929, allocations: 1 MB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.7939, allocations: 0.5532 MB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.794, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.794, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.7941, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.7946, allocations: 123.5 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.7946, allocations: 23.91 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.7947, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.7947, allocations: 8 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.7948, allocations: 15.92 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.7948, allocations: 4 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.7953, allocations: 335.3 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.697e-06/0.7953, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.7954, allocations: 29.7 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.7956, allocations: 93.8 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7956, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.796e-06/0.7956, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7956, allocations: 0 / 1.025 GB, free: 13.86 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.000479/0.7961, allocations: 359.2 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.7961, allocations: 12.5 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.7962, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.7963, allocations: 175 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.7963, allocations: 0 / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.7964, allocations: 0 / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.7965, allocations: 45.64 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7965, allocations: 3.938 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.7965, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.7965, allocations: 8 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.174e-05/0.7966, allocations: 15.98 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.797, allocations: 248.9 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.7973, allocations: 54.61 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.7973, allocations: 12.86 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.7973, allocations: 11.98 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.7974, allocations: 30.56 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.7974, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001894/0.7976, allocations: 57.59 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.7976, allocations: 59.34 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.7977, allocations: 97.86 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.7977, allocations: 25.7 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.7978, allocations: 80.14 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.7978, allocations: 15.8 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.7978, allocations: 4 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.798, allocations: 314.8 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.798, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.798, allocations: 25.7 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.893e-05/0.7981, allocations: 12 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7981, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.948e-05/0.7982, allocations: 65.58 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.7982, allocations: 4 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.7982, allocations: 4 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.7982, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.721e-05/0.7983, allocations: 8 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.7983, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.7983, allocations: 3.938 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.7983, allocations: 7.984 kB / 1.026 GB, free: 11.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.055e-05/0.7984, allocations: 109.8 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.7984, allocations: 11.89 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.7986, allocations: 69.11 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.7986, allocations: 0 / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.7986, allocations: 0 / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7986, allocations: 4 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.7988, allocations: 153.7 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7988, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.7988, allocations: 7.984 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.7988, allocations: 7.953 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.7988, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7988, allocations: 4 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7989, allocations: 3.938 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.799, allocations: 148 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.799, allocations: 81.02 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.799, allocations: 3.953 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.7991, allocations: 48 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.7991, allocations: 11.97 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.7991, allocations: 4 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.7992, allocations: 83.28 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7992, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002364/0.7994, allocations: 16 kB / 1.027 GB, free: 11.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001786/0.7996, allocations: 127.1 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.9e-05/0.7997, allocations: 27.92 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7997, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.7998, allocations: 12 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.8, allocations: 4.062 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.8003, allocations: 132.5 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.8005, allocations: 0.677 MB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.8006, allocations: 4 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.8006, allocations: 15.44 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of SimCode: time 1.693e-06/0.8006, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.002506/0.8031, allocations: 0.4958 MB / 1.028 GB, free: 9.547 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