Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001468/0.001468, allocations: 196.4 kB / 16.14 MB, free: 6.711 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.556/1.556, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.9/2.9, allocations: 437 MB / 0.7099 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001936, allocations: 59.91 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7046, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.004196/0.7088, allocations: 1.318 MB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.7104, allocations: 0.6034 MB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.7105, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.7105, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.7106, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.7113, allocations: 111.6 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.988e-05/0.7113, allocations: 7.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.506e-05/0.7114, allocations: 7.984 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.98e-05/0.7115, allocations: 11.94 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.7115, allocations: 4 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.7115, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.7123, allocations: 343.3 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.7123, allocations: 4 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.7124, allocations: 11.88 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.7128, allocations: 141.7 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7128, allocations: 0 / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7128, allocations: 0 / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.7128, allocations: 4 kB / 1.019 GB, free: 196 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000595/0.7134, allocations: 356.6 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.7135, allocations: 8.031 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.7135, allocations: 0.9375 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.7137, allocations: 164.4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.7137, allocations: 4.375 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.7137, allocations: 8.297 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.7139, allocations: 38.19 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.7139, allocations: 4.188 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.7139, allocations: 3.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.7139, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.714, allocations: 8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.7142, allocations: 141.7 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.7143, allocations: 34.59 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.7143, allocations: 4.859 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.7144, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.7144, allocations: 34.62 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.7144, allocations: 3.938 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/0.7146, allocations: 41.64 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.7147, allocations: 59.52 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.7148, allocations: 93.86 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.7148, allocations: 25.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.7148, allocations: 84.14 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.7149, allocations: 7.844 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.7149, allocations: 13.72 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.7151, allocations: 314.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.7151, allocations: 8.125 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.7152, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.7152, allocations: 16.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7152, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.886e-05/0.7153, allocations: 37.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.7154, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.7154, allocations: 3.938 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7154, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.7156, allocations: 11.98 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005561/0.7162, allocations: 0.5899 MB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.7162, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.7162, allocations: 4.031 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.7164, allocations: 119.7 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.7164, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.7165, allocations: 44.92 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.7165, allocations: 4 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.7166, allocations: 7.922 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7166, allocations: 0 / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.7167, allocations: 149.6 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7168, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.737e-05/0.7169, allocations: 7.984 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.7169, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.7169, allocations: 3.938 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006601/0.7176, allocations: 0.5822 MB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7176, allocations: 3.938 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.7177, allocations: 65.06 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.7179, allocations: 81.11 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.7179, allocations: 0 / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.905e-05/0.7179, allocations: 12.12 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.718, allocations: 7.875 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.718, allocations: 0 / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.256e-05/0.718, allocations: 83.27 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.718, allocations: 0 / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003278/0.7184, allocations: 8 kB / 1.022 GB, free: 12.54 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002204/0.7186, allocations: 111.8 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.7188, allocations: 20.09 kB / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7188, allocations: 0 / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.7189, allocations: 15.98 kB / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.7192, allocations: 0 / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.7196, allocations: 116.2 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.72, allocations: 0.6772 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.004e-05/0.7201, allocations: 4 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.7201, allocations: 7.438 kB / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.7201, allocations: 0 / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of Templates: time 0.003319/0.7234, allocations: 444.4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches