Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, 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.00151/0.00151, allocations: 196.8 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.527 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.719/2.719, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.91 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7293, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002145/0.7315, allocations: 1.323 MB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.7325, allocations: 0.5995 MB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.3e-05/0.7325, allocations: 4 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.834e-05/0.7325, allocations: 0 / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.757e-05/0.7326, allocations: 0 / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.733, allocations: 119.5 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.362e-05/0.733, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.7331, allocations: 4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.7331, allocations: 7.938 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.621e-05/0.7331, allocations: 7.984 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.7331, allocations: 4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004431/0.7336, allocations: 339.3 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.7336, allocations: 7.984 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.7336, allocations: 7.922 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.7339, allocations: 141.7 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7339, allocations: 0 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7339, allocations: 0 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.095e-06/0.7339, allocations: 0 / 1.019 GB, free: 224 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.0003614/0.7343, allocations: 347.5 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.7343, allocations: 12.03 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.7343, allocations: 4.938 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.7344, allocations: 160.4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.7345, allocations: 4.375 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.7345, allocations: 8.359 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.623e-05/0.7346, allocations: 38.12 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.7346, allocations: 192 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.7346, allocations: 7.938 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.7346, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.7346, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.7348, allocations: 157.7 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.683e-05/0.7348, allocations: 22.55 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.7349, allocations: 12.92 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.7349, allocations: 3.938 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.7349, allocations: 30.56 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.7349, allocations: 4 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.735, allocations: 49.62 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.7351, allocations: 51.41 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.7352, allocations: 93.86 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.7352, allocations: 25.7 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.7352, allocations: 80.14 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.7353, allocations: 7.844 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.7353, allocations: 21.7 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.7354, allocations: 315.1 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.7354, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.7354, allocations: 3.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.7355, allocations: 12.86 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.7355, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.757e-05/0.7355, allocations: 41.69 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.7355, allocations: 5.406 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7356, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.7356, allocations: 4.094 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.7357, allocations: 8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003257/0.7361, allocations: 0.5937 MB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.7361, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.7361, allocations: 0 / 1.021 GB, free: 13.87 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 6.726e-05/0.7362, allocations: 116.4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-06/0.7362, allocations: 4.094 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.007e-05/0.7363, allocations: 44.81 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.7363, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7363, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7363, allocations: 15.88 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.958e-05/0.7364, allocations: 153.6 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7364, allocations: 0 / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.7365, allocations: 8 kB / 1.021 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7365, allocations: 0 / 1.021 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.7365, allocations: 8.031 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002658/0.7368, allocations: 0.5821 MB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7368, allocations: 3.938 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.307e-05/0.7369, allocations: 65.02 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.7369, allocations: 77.23 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.7369, allocations: 11.98 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.412e-05/0.7369, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.737, allocations: 7.875 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.737, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.737, allocations: 79.28 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.737, allocations: 0 / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001876/0.7372, allocations: 8 kB / 1.022 GB, free: 12.57 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.0001548/0.7374, allocations: 115.3 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.7375, allocations: 19.98 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7375, allocations: 0 / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.7376, allocations: 15.92 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.7378, allocations: 8 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.7381, allocations: 120.3 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.7383, allocations: 0.6692 MB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.532e-05/0.7383, allocations: 4 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.7384, allocations: 7.438 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7384, allocations: 0 / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of Templates: time 0.002296/0.7407, allocations: 431.2 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches