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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004675/0.004675, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001272/0.001272, allocations: 201.5 kB / 16.68 MB, free: 5.93 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 64.8 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2808, allocations: 162.2 MB / 1.241 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00225/0.2831, allocations: 1.294 MB / 1.243 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000996/0.2841, allocations: 0.5933 MB / 1.243 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.2841, allocations: 0 / 1.243 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.2841, allocations: 3.938 kB / 1.243 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.2842, allocations: 8 kB / 1.243 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.2847, allocations: 140.6 kB / 1.243 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.555e-05/0.2847, allocations: 23.86 kB / 1.243 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.2848, allocations: 4 kB / 1.243 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.097e-05/0.2848, allocations: 7.984 kB / 1.243 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.2849, allocations: 15.92 kB / 1.243 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.2849, allocations: 0 / 1.243 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.2855, allocations: 343.3 kB / 1.244 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.2855, allocations: 7.984 kB / 1.244 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.2855, allocations: 7.938 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.2858, allocations: 145.2 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2858, allocations: 0 / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2858, allocations: 3.938 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2858, allocations: 0 / 1.244 GB, free: 6.715 MB / 0.9669 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.0004446/0.2863, allocations: 363 kB / 1.244 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2863, allocations: 12.03 kB / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.2863, allocations: 38.75 kB / 1.244 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.2864, allocations: 8.922 kB / 1.244 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.2865, allocations: 164.4 kB / 1.245 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2865, allocations: 384 / 1.245 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.2866, allocations: 384 / 1.245 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.2867, allocations: 42.25 kB / 1.245 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2867, allocations: 3.938 kB / 1.245 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.2867, allocations: 0 / 1.245 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2867, allocations: 0 / 1.245 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.2868, allocations: 27.86 kB / 1.245 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.2871, allocations: 257 kB / 1.245 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.2873, allocations: 46.56 kB / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.2873, allocations: 12.86 kB / 1.245 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.2874, allocations: 7.984 kB / 1.245 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2874, allocations: 38.5 kB / 1.245 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2874, allocations: 4 kB / 1.245 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.2876, allocations: 57.62 kB / 1.245 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.2876, allocations: 51.41 kB / 1.245 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.2877, allocations: 102 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2877, allocations: 25.7 kB / 1.245 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.2878, allocations: 84.09 kB / 1.245 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.2878, allocations: 15.89 kB / 1.245 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.2878, allocations: 17.7 kB / 1.245 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.288, allocations: 318.8 kB / 1.246 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.288, allocations: 4 kB / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.2881, allocations: 21.7 kB / 1.246 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.947e-05/0.2881, allocations: 37.83 kB / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2881, allocations: 3.938 kB / 1.246 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000106/0.2882, allocations: 61.58 kB / 1.246 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2883, allocations: 4 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2883, allocations: 4.031 kB / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2883, allocations: 4 kB / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.2883, allocations: 4 kB / 1.246 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2883, allocations: 4 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.2884, allocations: 7.984 kB / 1.246 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.2884, allocations: 0 / 1.246 GB, free: 4.652 MB / 0.9669 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.965e-05/0.2885, allocations: 113.8 kB / 1.246 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.2885, allocations: 0 / 1.246 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.2886, allocations: 65.12 kB / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2887, allocations: 0 / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2887, allocations: 0 / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2887, allocations: 0 / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.2889, allocations: 165.7 kB / 1.246 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2889, allocations: 4 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.2889, allocations: 7.984 kB / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2889, allocations: 0 / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.2889, allocations: 4 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2889, allocations: 4 kB / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2889, allocations: 0 / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.2891, allocations: 155.5 kB / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.2892, allocations: 81.05 kB / 1.246 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2892, allocations: 3.938 kB / 1.246 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.089e-05/0.2892, allocations: 3.938 kB / 1.246 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.2892, allocations: 7.984 kB / 1.246 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2893, allocations: 0 / 1.246 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.2893, allocations: 79.28 kB / 1.246 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2893, allocations: 4 kB / 1.246 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002512/0.2896, allocations: 23.88 kB / 1.246 GB, free: 3.844 MB / 0.9669 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.0005114/0.2901, allocations: 0.7045 MB / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.087e-05/0.2902, allocations: 24.27 kB / 1.247 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2902, allocations: 0 / 1.247 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.297e-05/0.2902, allocations: 20.05 kB / 1.247 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.2904, allocations: 192 / 1.247 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.2909, allocations: 164 kB / 1.247 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2912, allocations: 0.6846 MB / 1.248 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.2912, allocations: 4 kB / 1.248 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.2913, allocations: 15.42 kB / 1.248 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.2913, allocations: 0 / 1.248 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.3125, allocations: 1.388 MB / 1.249 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/7.91, allocations: 22.17 kB / 1.249 GB, free: 0.8672 MB / 0.9669 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 400 --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