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.00692/0.00692, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001648/0.001648, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.325/1.325, 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 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6846, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002024/0.6866, allocations: 1.287 MB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008327/0.6875, allocations: 0.5942 MB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.6875, allocations: 0 / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.6875, allocations: 1.547 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.233e-05/0.6876, allocations: 8.625 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.688, allocations: 149.2 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.542e-05/0.6881, allocations: 23.81 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.6882, allocations: 3.375 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.6882, allocations: 5.672 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.992e-05/0.6882, allocations: 13.05 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.6882, allocations: 1.125 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005564/0.6888, allocations: 346.5 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.6888, allocations: 1.406 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.6889, allocations: 13.16 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.6891, allocations: 147.5 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6891, allocations: 0.875 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6891, allocations: 0.7031 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.6891, allocations: 0 / 1.09 GB, free: 3.727 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.0003144/0.6895, allocations: 354.1 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.6895, allocations: 9.844 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.251e-05/0.6895, allocations: 36.05 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.6896, allocations: 5.781 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.345e-05/0.6896, allocations: 170.7 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.6896, allocations: 5.469 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.6897, allocations: 2.562 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.304e-05/0.6898, allocations: 40.89 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.6898, allocations: 7.875 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.6898, allocations: 5.344 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.6898, allocations: 4.547 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.417e-05/0.6898, allocations: 11.33 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.6901, allocations: 258 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.6903, allocations: 45.75 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.6903, allocations: 17.89 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.6904, allocations: 6.078 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.072e-05/0.6904, allocations: 35.47 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.6904, allocations: 0 / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001465/0.6905, allocations: 56.17 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/0.6906, allocations: 57.27 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.164e-05/0.6906, allocations: 99.72 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-06/0.6906, allocations: 25.7 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.6906, allocations: 85.72 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-06/0.6907, allocations: 11.66 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.6907, allocations: 18.73 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.666e-05/0.6907, allocations: 312.5 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.6908, allocations: 9.703 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.569e-05/0.6908, allocations: 25.09 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.6908, allocations: 34.42 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6908, allocations: 4.453 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.795e-05/0.6909, allocations: 59.39 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6909, allocations: 8.5 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.691, allocations: 0 / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.691, allocations: 0.9062 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.762e-05/0.691, allocations: 16.78 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.691, allocations: 0.9375 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.6911, allocations: 5.828 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.6911, allocations: 1.969 kB / 1.092 GB, free: 1.898 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 3.927e-05/0.6911, allocations: 112.4 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.6911, allocations: 1.766 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.6913, allocations: 66.44 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6913, allocations: 4.469 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6913, allocations: 1.156 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6913, allocations: 0.7969 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.6914, allocations: 162.6 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6914, allocations: 0.7344 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.6915, allocations: 10.95 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6915, allocations: 3.984 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.6915, allocations: 1.797 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6915, allocations: 0 / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.6915, allocations: 0.75 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.466e-05/0.6916, allocations: 155.5 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.6916, allocations: 80 kB / 1.092 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.6916, allocations: 0.5156 kB / 1.092 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.941e-05/0.6917, allocations: 0.875 kB / 1.092 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.6917, allocations: 2.594 kB / 1.092 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.6917, allocations: 5.156 kB / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.695e-05/0.6917, allocations: 79.27 kB / 1.092 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6917, allocations: 0 / 1.092 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002456/0.692, allocations: 27.3 kB / 1.092 GB, free: 1.184 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.000349/0.6923, allocations: 0.7013 MB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.876e-05/0.6924, allocations: 25.19 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6924, allocations: 0.9375 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-05/0.6925, allocations: 12.33 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.6927, allocations: 7.891 kB / 1.093 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.6931, allocations: 165 kB / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.6933, allocations: 0.676 MB / 1.094 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.6933, allocations: 11.77 kB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.6934, allocations: 14.31 kB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of SimCode: time 2.7e-07/0.6934, allocations: 0 / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2367/0.9301, allocations: 1.388 MB / 1.095 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.99, allocations: 8.719 kB / 1.095 GB, free: 15.27 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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