Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_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.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 469.4 MB / 0.742 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.97 kB / 0.9083 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3278, allocations: 159.1 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002386/0.3303, allocations: 1.263 MB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009376/0.3312, allocations: 0.5854 MB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.3313, allocations: 0 / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.3313, allocations: 0 / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.3313, allocations: 7.922 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.3319, allocations: 135.4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.19e-05/0.332, allocations: 15.92 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.332, allocations: 4 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.332, allocations: 3.984 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.3321, allocations: 11.94 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.3321, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.3326, allocations: 339.4 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.3326, allocations: 7.969 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.3327, allocations: 7.875 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.3329, allocations: 136 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3329, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3329, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.333, allocations: 4 kB / 1.066 GB, free: 12.05 MB / 0.8262 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.0003537/0.3333, allocations: 343.5 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3334, allocations: 12.03 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.3334, allocations: 38.69 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.3334, allocations: 0.9375 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.3336, allocations: 160.4 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3336, allocations: 384 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.3336, allocations: 12.3 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.687e-05/0.3337, allocations: 34.2 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.3337, allocations: 7.938 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.3337, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3337, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.3337, allocations: 4 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.3339, allocations: 153.6 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.345e-05/0.334, allocations: 34.55 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.334, allocations: 4.859 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.334, allocations: 4 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.334, allocations: 38.62 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.334, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000129/0.3342, allocations: 45.62 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3342, allocations: 55.34 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.3343, allocations: 93.86 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.3343, allocations: 25.95 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.3343, allocations: 88.14 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3344, allocations: 3.906 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.3344, allocations: 17.7 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.3345, allocations: 310.8 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.3345, allocations: 4 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-06/0.3346, allocations: 4 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.3346, allocations: 8.859 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3346, allocations: 8.062 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.826e-05/0.3347, allocations: 49.61 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3347, allocations: 7.938 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3347, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.3347, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3349, allocations: 8 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003666/0.3352, allocations: 0.5821 MB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.3353, allocations: 4.125 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.3353, allocations: 4.031 kB / 1.068 GB, free: 9.656 MB / 0.8262 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.919e-05/0.3354, allocations: 110.3 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-06/0.3354, allocations: 0 / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3355, allocations: 48.75 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3355, allocations: 0 / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3355, allocations: 4 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3355, allocations: 7.969 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.741e-05/0.3356, allocations: 153.6 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3356, allocations: 0 / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.03e-05/0.3357, allocations: 8 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.3357, allocations: 4 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.3358, allocations: 3.938 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003116/0.3361, allocations: 0.5859 MB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3361, allocations: 7.969 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.863e-05/0.3362, allocations: 61.17 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.3362, allocations: 77.11 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.3362, allocations: 7.984 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.64e-05/0.3363, allocations: 4 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.3363, allocations: 3.938 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3363, allocations: 0 / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.387e-05/0.3363, allocations: 83.31 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3363, allocations: 0 / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002032/0.3365, allocations: 15.94 kB / 1.069 GB, free: 8.359 MB / 0.8262 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.0004231/0.337, allocations: 0.6085 MB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.3371, allocations: 24.11 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3371, allocations: 0 / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.941e-05/0.3372, allocations: 12 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.3374, allocations: 10.36 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.3379, allocations: 147.5 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.3381, allocations: 0.6769 MB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.628e-05/0.3381, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.3382, allocations: 7.438 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3382, allocations: 3.938 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.3571, allocations: 1.341 MB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.18, allocations: 1.047 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches