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.001631/0.001631, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001652/0.001652, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.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.563/2.563, allocations: 437.1 MB / 0.7111 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 68.61 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3034, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00268/0.3061, allocations: 1.249 MB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3072, allocations: 0.5892 MB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.3073, allocations: 0 / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.3073, allocations: 0 / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.3074, allocations: 3.938 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.3079, allocations: 136 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.308, allocations: 11.94 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.3081, allocations: 3.984 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.3081, allocations: 11.92 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.3082, allocations: 7.938 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.3082, allocations: 0 / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.3087, allocations: 339.3 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.3088, allocations: 3.984 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.3088, allocations: 4 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.3091, allocations: 143.9 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3091, allocations: 4 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3091, allocations: 0 / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.3091, allocations: 0 / 1.02 GB, free: 8.133 MB / 0.795 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.000492/0.3096, allocations: 359.4 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3097, allocations: 12.91 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.3097, allocations: 4.938 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3099, allocations: 160.4 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.3099, allocations: 384 / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.3099, allocations: 384 / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.796e-05/0.31, allocations: 38.2 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.31, allocations: 192 / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.31, allocations: 3.938 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.31, allocations: 0 / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.177e-05/0.3101, allocations: 11.98 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.3103, allocations: 149.6 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.894e-05/0.3104, allocations: 22.61 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.3104, allocations: 16.91 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3104, allocations: 0 / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3105, allocations: 34.5 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.3105, allocations: 0 / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001587/0.3106, allocations: 45.64 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.3107, allocations: 51.41 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.3108, allocations: 93.97 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3108, allocations: 33.83 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.3108, allocations: 84.14 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.3109, allocations: 3.906 kB / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.3109, allocations: 13.72 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3111, allocations: 310.8 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.3111, allocations: 4 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.3111, allocations: 11.92 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/0.3111, allocations: 12.92 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3112, allocations: 0 / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.477e-05/0.3112, allocations: 37.7 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3113, allocations: 8 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3113, allocations: 7.922 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3113, allocations: 3.938 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.3115, allocations: 11.98 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004535/0.3119, allocations: 0.5898 MB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.312, allocations: 0 / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.312, allocations: 0 / 1.022 GB, free: 5.777 MB / 0.795 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 9.529e-05/0.3121, allocations: 114.4 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-06/0.3121, allocations: 0 / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.3122, allocations: 48.81 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3122, allocations: 0 / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3122, allocations: 4.125 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3122, allocations: 0 / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.3124, allocations: 153.6 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3124, allocations: 0 / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.608e-05/0.3124, allocations: 15.92 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3125, allocations: 0 / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3125, allocations: 7.938 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003808/0.3129, allocations: 0.5782 MB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3129, allocations: 8.031 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.239e-05/0.313, allocations: 73 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.313, allocations: 77.11 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.313, allocations: 4 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.3131, allocations: 0 / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.3131, allocations: 7.938 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.3131, allocations: 0 / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.3131, allocations: 79.31 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3131, allocations: 0 / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001943/0.3133, allocations: 11.98 kB / 1.024 GB, free: 4.48 MB / 0.795 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.0002169/0.3136, allocations: 115.2 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.3137, allocations: 19.98 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3137, allocations: 4 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.089e-05/0.3138, allocations: 20.08 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.314, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.3144, allocations: 127.9 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.3147, allocations: 0.6768 MB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.3147, allocations: 7.438 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.3147, allocations: 0 / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of Templates: time 0.002566/0.3173, allocations: 0.7006 MB / 1.025 GB, free: 2.754 MB / 0.795 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/jenkins1/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