Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_9_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.007281/0.007281, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001248/0.001248, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.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.448/2.448, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 65.7 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3006, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002501/0.3031, allocations: 1.288 MB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3042, allocations: 0.5933 MB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.3043, allocations: 0 / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.3043, allocations: 0 / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.566e-05/0.3044, allocations: 11.92 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006358/0.305, allocations: 147.5 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.558e-05/0.3051, allocations: 19.75 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.3051, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.664e-05/0.3052, allocations: 15.97 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.3052, allocations: 7.938 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.3052, allocations: 0 / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005203/0.3058, allocations: 339.3 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.3058, allocations: 11.98 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.3058, allocations: 15.92 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.3061, allocations: 139.4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3061, allocations: 3.938 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3061, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.3061, allocations: 0 / 1.09 GB, free: 15.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004491/0.3066, allocations: 359.4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3066, allocations: 8.031 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.3067, allocations: 34.75 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.3067, allocations: 4.938 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.3068, allocations: 164.3 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3069, allocations: 4.375 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.3069, allocations: 4.375 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.307, allocations: 46.19 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.307, allocations: 3.938 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.307, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.307, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.799e-05/0.3071, allocations: 15.98 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.3074, allocations: 249 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.3077, allocations: 50.56 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.3077, allocations: 16.86 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.3077, allocations: 11.97 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3078, allocations: 34.5 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.3078, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001838/0.308, allocations: 53.69 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.308, allocations: 55.41 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.3081, allocations: 93.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3081, allocations: 29.7 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.3082, allocations: 88.05 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.3082, allocations: 7.891 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.3082, allocations: 17.72 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3084, allocations: 322.8 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.3084, allocations: 11.98 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.3084, allocations: 17.66 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.3085, allocations: 34.08 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3085, allocations: 3.938 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001432/0.3086, allocations: 65.53 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3087, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3087, allocations: 4.031 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3087, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.599e-05/0.3088, allocations: 11.98 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3088, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.3088, allocations: 4 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.3088, allocations: 128 / 1.092 GB, free: 13.37 MB / 0.8575 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 8.904e-05/0.3089, allocations: 117.8 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.309, allocations: 7.938 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.3091, allocations: 69.11 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3091, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3091, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3091, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.3093, allocations: 165.5 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3093, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.3094, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3094, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.3094, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3094, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.3094, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.3095, allocations: 155.4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.3096, allocations: 85.09 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3096, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.941e-05/0.3096, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.3097, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.3097, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.3097, allocations: 79.28 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3097, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002576/0.31, allocations: 23.98 kB / 1.092 GB, free: 12.56 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 (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.000524/0.3105, allocations: 0.7006 MB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3106, allocations: 28.31 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3106, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-05/0.3107, allocations: 12.06 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.3109, allocations: 1.562 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.3114, allocations: 172.3 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.3116, allocations: 0.6768 MB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.3117, allocations: 8.25 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.3117, allocations: 11.44 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3117, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.3305, allocations: 1.397 MB / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.192, allocations: 14.39 kB / 1.095 GB, free: 9.586 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches