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.001976/0.001976, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00212/0.00212, allocations: 191.9 kB / 16.25 MB, free: 6.641 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.519/1.519, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.854/2.854, allocations: 437 MB / 0.7101 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7823, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002815/0.7852, allocations: 1.347 MB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.7863, allocations: 0.5916 MB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.7863, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.7863, allocations: 3.938 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.7864, allocations: 7.984 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.7869, allocations: 127.5 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.7869, allocations: 19.94 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.787, allocations: 3.938 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.787, allocations: 11.92 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.7871, allocations: 7.984 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.7871, allocations: 4 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005544/0.7876, allocations: 335.4 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.7877, allocations: 19.92 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.7877, allocations: 0 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.7879, allocations: 153.6 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7879, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.453e-06/0.788, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.788, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 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.000458/0.7884, allocations: 363.4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.7885, allocations: 8.031 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.7885, allocations: 8.875 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.7886, allocations: 172.3 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.7887, allocations: 384 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.7887, allocations: 4.375 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.7888, allocations: 42.25 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.7888, allocations: 192 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.7888, allocations: 3.938 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.7888, allocations: 4 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.7889, allocations: 15.98 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.7893, allocations: 252.9 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.7895, allocations: 58.48 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.7895, allocations: 20.84 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.7895, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.7896, allocations: 30.56 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.7896, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002358/0.7898, allocations: 65.62 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.7899, allocations: 51.41 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.79, allocations: 93.86 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.79, allocations: 25.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.7901, allocations: 88.12 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.7901, allocations: 11.81 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.7902, allocations: 17.72 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7903, allocations: 310.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.7904, allocations: 19.92 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.7904, allocations: 21.72 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.7905, allocations: 29.66 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7905, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.853e-05/0.7906, allocations: 57.62 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7906, allocations: 7.984 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7906, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.7906, allocations: 4.031 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.7907, allocations: 8 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.7907, allocations: 3.938 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.7907, allocations: 7.844 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.7907, allocations: 4 kB / 1.021 GB, free: 14.09 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 8.327e-05/0.7908, allocations: 109.8 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.7909, allocations: 3.938 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.791, allocations: 73.16 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.791, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.791, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.791, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.7913, allocations: 161.6 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7913, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.7913, allocations: 7.938 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7913, allocations: 4.469 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.7913, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7913, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.7913, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.7915, allocations: 159.5 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.7915, allocations: 81.02 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.7916, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.186e-05/0.7916, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.7916, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.7916, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.007e-05/0.7917, allocations: 87.27 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7917, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002442/0.792, allocations: 20 kB / 1.022 GB, free: 13.28 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.0001945/0.7922, allocations: 123.6 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.64e-05/0.7923, allocations: 23.98 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7923, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.398e-05/0.7923, allocations: 15.94 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.7925, allocations: 12.62 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.7929, allocations: 129 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.7932, allocations: 0.6768 MB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.7933, allocations: 7.938 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.7933, allocations: 7.438 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7933, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.002683/0.796, allocations: 0.5085 MB / 1.023 GB, free: 11.73 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=400 -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