Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008931/0.008931, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.002137/0.002137, allocations: 195.1 kB / 16.67 MB, free: 5.969 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.891/0.8923, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00207/0.8944, allocations: 1.255 MB / 1.089 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.8954, allocations: 0.5915 MB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.8954, allocations: 1.062 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.8954, allocations: 0.7031 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.84e-05/0.8955, allocations: 0 / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.896, allocations: 141.8 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.8961, allocations: 14.28 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.8961, allocations: 2.594 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.8961, allocations: 11.06 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.8962, allocations: 7.172 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.8962, allocations: 0 / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.8968, allocations: 342 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.8968, allocations: 3.984 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.8969, allocations: 7.188 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.8971, allocations: 139.4 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8971, allocations: 0 / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8971, allocations: 0 / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8972, allocations: 0 / 1.09 GB, free: 4 MB / 0.8575 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.0003481/0.8975, allocations: 353.1 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.8976, allocations: 13.16 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.8976, allocations: 5.906 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.31e-05/0.8977, allocations: 166.8 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.8977, allocations: 1.469 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.8977, allocations: 1.5 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.8978, allocations: 31.05 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.8978, allocations: 192 / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.8978, allocations: 4.641 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.8979, allocations: 4.859 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.009e-05/0.8979, allocations: 11.77 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.898, allocations: 154.9 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.771e-05/0.8981, allocations: 24.34 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.8981, allocations: 7.812 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.8982, allocations: 0.9375 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.8982, allocations: 32.42 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.8982, allocations: 4 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001707/0.8984, allocations: 48.8 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.8984, allocations: 53.58 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.544e-05/0.8985, allocations: 93.09 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.8985, allocations: 25.7 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.891e-05/0.8985, allocations: 80.94 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.8986, allocations: 10.5 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.8986, allocations: 12.28 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.83e-05/0.8987, allocations: 317.2 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.8987, allocations: 2.344 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.8987, allocations: 1.812 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.8987, allocations: 18.91 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8987, allocations: 0 / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.692e-05/0.8988, allocations: 44.25 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8988, allocations: 5.906 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8988, allocations: 8.031 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8989, allocations: 0.7969 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.899, allocations: 9.922 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002469/0.8993, allocations: 0.5835 MB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.8993, allocations: 0.8125 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.8993, allocations: 1.266 kB / 1.092 GB, free: 1.785 MB / 0.8575 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 5.554e-05/0.8994, allocations: 120.1 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.8994, allocations: 4.734 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.8995, allocations: 44.38 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.8995, allocations: 0.8125 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8995, allocations: 0.625 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.8995, allocations: 4.453 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.801e-05/0.8996, allocations: 155.8 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.8996, allocations: 0 / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.8997, allocations: 10.47 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.8997, allocations: 4.875 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.8997, allocations: 0 / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001955/0.8999, allocations: 0.5839 MB / 1.093 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8999, allocations: 3.938 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.839e-05/0.9, allocations: 65.89 kB / 1.093 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.9, allocations: 78.62 kB / 1.093 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.9001, allocations: 1.547 kB / 1.093 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.9001, allocations: 0 / 1.093 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.9001, allocations: 6.484 kB / 1.093 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.9001, allocations: 0.6562 kB / 1.093 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.916e-05/0.9001, allocations: 81.67 kB / 1.094 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.61e-07/0.9001, allocations: 0 / 1.094 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002043/0.9003, allocations: 15.22 kB / 1.094 GB, free: 0.5664 MB / 0.8575 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.0001745/0.9005, allocations: 121.6 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.9007, allocations: 16.06 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9007, allocations: 0.8125 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.9008, allocations: 18 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.901, allocations: 2.688 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.9013, allocations: 109.1 kB / 1.094 GB, free: 356 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.9016, allocations: 0.6736 MB / 1.094 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.721e-05/0.9016, allocations: 1.156 kB / 1.094 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.9017, allocations: 8.625 kB / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.9017, allocations: 0 / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of Templates: time 0.002631/0.9043, allocations: 454.7 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches