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.001399/0.001399, 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.001335/0.001335, allocations: 191.5 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.569/1.569, allocations: 222.9 MB / 239.8 MB, free: 4.559 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 3.079/3.079, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6632, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002841/0.666, allocations: 1.319 MB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.6673, allocations: 0.5995 MB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.6674, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.6674, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.6675, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.6681, allocations: 123.3 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.6682, allocations: 4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.228e-05/0.6683, allocations: 8 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.615e-05/0.6683, allocations: 3.938 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.6683, allocations: 7.984 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.6684, allocations: 4 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006116/0.669, allocations: 343.3 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.669, allocations: 4 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.669, allocations: 7.938 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.6694, allocations: 141.7 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.6694, allocations: 4 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6694, allocations: 0 / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.6694, allocations: 0 / 1.019 GB, free: 216 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.0007769/0.6702, allocations: 347.5 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.6703, allocations: 8.031 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.6703, allocations: 4.938 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.6706, allocations: 168.4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.6707, allocations: 384 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.6707, allocations: 384 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.6709, allocations: 42.14 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.6709, allocations: 192 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.6709, allocations: 3.938 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.6709, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.788e-05/0.671, allocations: 11.98 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.6713, allocations: 157.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.054e-05/0.6714, allocations: 18.58 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.6714, allocations: 12.92 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.6715, allocations: 7.922 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.6715, allocations: 30.56 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6715, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002275/0.6718, allocations: 41.64 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.6719, allocations: 59.41 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.672, allocations: 97.78 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.672, allocations: 25.7 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.6721, allocations: 84.14 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.6722, allocations: 7.844 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.6722, allocations: 13.72 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002462/0.6725, allocations: 319.1 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.6725, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.6725, allocations: 7.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.167e-05/0.6726, allocations: 16.84 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6726, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.003e-05/0.6727, allocations: 33.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.6727, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.6727, allocations: 7.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.6727, allocations: 4.094 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.673, allocations: 11.98 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006926/0.6737, allocations: 0.5898 MB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.6737, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.6737, allocations: 0 / 1.021 GB, free: 13.86 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.0001339/0.6739, allocations: 109.8 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.6739, allocations: 8.125 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.674, allocations: 44.81 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6741, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.6741, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.6741, allocations: 3.938 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.6742, allocations: 161.5 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6742, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.247e-05/0.6743, allocations: 11.98 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6743, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.6743, allocations: 4.031 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003974/0.6747, allocations: 0.5782 MB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6748, allocations: 3.938 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.396e-05/0.6749, allocations: 73 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.6749, allocations: 77.23 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.6749, allocations: 4 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.502e-05/0.675, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.675, allocations: 3.938 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.675, allocations: 8 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.854e-05/0.6751, allocations: 75.28 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6751, allocations: 0 / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002449/0.6753, allocations: 12 kB / 1.022 GB, free: 12.56 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.0002221/0.6755, allocations: 115.9 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.6757, allocations: 15.98 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6757, allocations: 3.938 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.851e-05/0.6758, allocations: 19.92 kB / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.676, allocations: 6.062 kB / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.6765, allocations: 112.4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.6769, allocations: 0.6731 MB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.6769, allocations: 0 / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.6769, allocations: 7.438 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of SimCode: time 3.9e-07/0.6769, allocations: 0 / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.003265/0.6802, allocations: 428.6 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=400 -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