Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004233/0.004233, allocations: 97.08 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.001263/0.001263, allocations: 192.2 kB / 16.67 MB, free: 5.977 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 71.88 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2727, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002191/0.2749, allocations: 1.255 MB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009639/0.2759, allocations: 0.5856 MB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.836e-05/0.276, allocations: 0 / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.276, allocations: 3.984 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.371e-05/0.276, allocations: 4 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.2765, allocations: 143.3 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.054e-05/0.2766, allocations: 7.938 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.2766, allocations: 4 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.858e-05/0.2766, allocations: 7.984 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.2767, allocations: 3.938 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.2767, allocations: 0 / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.2772, allocations: 347.3 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.2773, allocations: 3.984 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.2773, allocations: 11.98 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.2775, allocations: 135.5 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2775, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2776, allocations: 4 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.2776, allocations: 4 kB / 1.223 GB, free: 11.81 MB / 0.9825 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.0003853/0.278, allocations: 353.2 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.278, allocations: 8.031 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.278, allocations: 30.75 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.839e-05/0.2781, allocations: 0.9375 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2782, allocations: 172.3 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2782, allocations: 4.375 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-06/0.2782, allocations: 384 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.219e-05/0.2783, allocations: 42.19 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2783, allocations: 3.938 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.2783, allocations: 0 / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2783, allocations: 0 / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.2784, allocations: 4 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.2785, allocations: 157.6 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.595e-05/0.2786, allocations: 18.58 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.2786, allocations: 12.92 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.2786, allocations: 4 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2787, allocations: 34.5 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2787, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001275/0.2788, allocations: 49.58 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.2789, allocations: 55.41 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/0.2789, allocations: 89.86 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2789, allocations: 25.95 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.279, allocations: 88.14 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.279, allocations: 0 / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.2791, allocations: 17.7 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2792, allocations: 314.8 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.2792, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-06/0.2792, allocations: 4 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.2793, allocations: 16.8 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2793, allocations: 4.062 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.076e-05/0.2793, allocations: 41.64 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2794, allocations: 9.969 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2794, allocations: 4 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.2794, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2795, allocations: 11.94 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004483/0.28, allocations: 0.5899 MB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.28, allocations: 4.125 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.28, allocations: 0 / 1.225 GB, free: 9.414 MB / 0.9825 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 7.911e-05/0.2801, allocations: 110.3 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.2801, allocations: 4.031 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.515e-05/0.2802, allocations: 44.81 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2802, allocations: 0 / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2802, allocations: 0 / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.2802, allocations: 0 / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.2804, allocations: 161.6 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2804, allocations: 0 / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.2804, allocations: 11.94 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2805, allocations: 0 / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.2805, allocations: 7.938 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003449/0.2808, allocations: 0.586 MB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2808, allocations: 3.938 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.962e-05/0.2809, allocations: 65.27 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.281, allocations: 81.05 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.281, allocations: 3.984 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.281, allocations: 0 / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.281, allocations: 3.938 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.281, allocations: 4 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.259e-05/0.2811, allocations: 83.31 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2811, allocations: 0 / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001946/0.2813, allocations: 11.94 kB / 1.226 GB, free: 8.121 MB / 0.9825 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.0004209/0.2817, allocations: 0.6085 MB / 1.226 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.2819, allocations: 28.05 kB / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2819, allocations: 4 kB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.282, allocations: 8 kB / 1.226 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.2821, allocations: 7.938 kB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.2825, allocations: 139.5 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2828, allocations: 0.6729 MB / 1.227 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.252e-05/0.2828, allocations: 4.125 kB / 1.227 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.2828, allocations: 7.438 kB / 1.227 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.2828, allocations: 0 / 1.227 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.3054, allocations: 1.385 MB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.42, allocations: 15.55 kB / 1.229 GB, free: 5.34 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches