Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.001376/0.001381, allocations: 108 kB / 15.6 MB, free: 132 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.001694/0.001694, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001344, allocations: 69.83 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2597, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002352/0.2621, allocations: 1.282 MB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008958/0.263, allocations: 0.5932 MB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.263, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.2631, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.2631, allocations: 3.938 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.2636, allocations: 155.3 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.534e-05/0.2637, allocations: 19.94 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.2637, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.315e-05/0.2638, allocations: 19.86 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.2638, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.2638, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005176/0.2644, allocations: 347.2 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.2644, allocations: 4 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.2644, allocations: 11.92 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.2647, allocations: 148 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2647, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2647, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2647, allocations: 4 kB / 1.066 GB, free: 11.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004023/0.2651, allocations: 367.4 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2651, allocations: 8.031 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.2652, allocations: 34.75 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.2652, allocations: 4.844 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.457e-05/0.2653, allocations: 160.4 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.2653, allocations: 384 / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.2653, allocations: 12.38 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.2655, allocations: 50.19 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2655, allocations: 3.938 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.2655, allocations: 0 / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2655, allocations: 0 / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.2655, allocations: 15.98 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.2658, allocations: 245 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.266, allocations: 58.5 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.445e-05/0.2661, allocations: 20.84 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.2661, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.2661, allocations: 34.56 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2661, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001622/0.2663, allocations: 53.69 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2663, allocations: 51.41 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.034e-05/0.2664, allocations: 93.86 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2664, allocations: 33.7 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.2665, allocations: 92.03 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.2665, allocations: 7.844 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.2665, allocations: 25.56 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2666, allocations: 310.8 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.058e-05/0.2667, allocations: 15.98 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.2667, allocations: 13.72 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/0.2668, allocations: 33.72 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2668, allocations: 3.938 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.074e-05/0.2669, allocations: 58 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2669, allocations: 11.98 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2669, allocations: 3.938 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.2669, allocations: 3.938 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.267, allocations: 8 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.267, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.267, allocations: 48 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.267, allocations: 12.02 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/0.2671, allocations: 114.3 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.2671, allocations: 7.938 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.2673, allocations: 61.16 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2673, allocations: 4 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2673, allocations: 0 / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2673, allocations: 0 / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.2674, allocations: 165.5 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2675, allocations: 0 / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.2675, allocations: 8 kB / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2675, allocations: 0 / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2675, allocations: 4.125 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2675, allocations: 0 / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2675, allocations: 0 / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.2677, allocations: 155.4 kB / 1.068 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.462e-05/0.2677, allocations: 85.05 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.2677, allocations: 4 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.928e-05/0.2678, allocations: 0 / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.2678, allocations: 0 / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.2678, allocations: 4 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.2678, allocations: 83.27 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2678, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002573/0.2681, allocations: 20 kB / 1.069 GB, free: 9.066 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004583/0.2686, allocations: 0.7007 MB / 1.069 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.823e-05/0.2687, allocations: 27.98 kB / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2687, allocations: 0 / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.021e-05/0.2687, allocations: 11.94 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.2689, allocations: 9.719 kB / 1.069 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.2694, allocations: 164.2 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.2696, allocations: 0.6807 MB / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.2696, allocations: 0 / 1.07 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.2697, allocations: 15.44 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2697, allocations: 0 / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.2868, allocations: 1.378 MB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.724, allocations: 9.391 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_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_InverseFlowFunctions.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches