Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_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.009141/0.009141, allocations: 99.64 kB / 15.73 MB, free: 6.469 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.002279/0.002279, allocations: 194.1 kB / 16.67 MB, free: 6.379 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.579/1.579, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.587/2.587, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.25 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.31, allocations: 140.4 MB / 1.087 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00258/0.3126, allocations: 1.257 MB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3137, allocations: 0.5855 MB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.3138, allocations: 4 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.3138, allocations: 3.984 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.105e-05/0.3139, allocations: 3.938 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007173/0.3146, allocations: 138.5 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.368e-05/0.3147, allocations: 11.94 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.3147, allocations: 4 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.3148, allocations: 0 / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.3148, allocations: 7.938 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3148, allocations: 4 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00059/0.3154, allocations: 343.3 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.3155, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.3155, allocations: 11.92 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.3158, allocations: 139.1 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.3158, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3158, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3158, allocations: 0 / 1.09 GB, free: 15.57 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005254/0.3164, allocations: 351.7 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.283e-05/0.3164, allocations: 8.031 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.3165, allocations: 38.75 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.3165, allocations: 0.9375 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3167, allocations: 160.4 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3167, allocations: 4.359 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.3167, allocations: 384 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3168, allocations: 46.12 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3168, allocations: 7.875 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3168, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3169, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.785e-05/0.3169, allocations: 8 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.3171, allocations: 153.7 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.567e-05/0.3172, allocations: 18.61 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.3172, allocations: 8.922 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3172, allocations: 3.938 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3172, allocations: 34.56 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.3173, allocations: 4 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/0.3174, allocations: 49.53 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.3175, allocations: 51.41 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.3176, allocations: 97.86 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3176, allocations: 25.7 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.3176, allocations: 80.14 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.3177, allocations: 3.906 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.3177, allocations: 17.95 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3178, allocations: 318.8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.3178, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.3179, allocations: 7.938 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.3179, allocations: 12.86 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3179, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.802e-05/0.318, allocations: 37.69 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.318, allocations: 13.5 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.318, allocations: 96 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3181, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.3182, allocations: 8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000378/0.3186, allocations: 0.586 MB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.3186, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.3187, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 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 9.395e-05/0.3188, allocations: 121.9 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.3188, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.3189, allocations: 44.81 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3189, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3189, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3189, allocations: 3.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.319, allocations: 157.5 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.319, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.3191, allocations: 8 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3191, allocations: 32 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.3192, allocations: 4 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003087/0.3195, allocations: 0.5977 MB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3195, allocations: 7.875 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.772e-05/0.3196, allocations: 61.08 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.3196, allocations: 81.23 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3196, allocations: 3.984 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.624e-05/0.3197, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.3197, allocations: 3.938 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.3197, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.122e-05/0.3197, allocations: 75.28 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3197, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002193/0.32, allocations: 11.94 kB / 1.093 GB, free: 11.87 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 (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.0004314/0.3204, allocations: 0.6147 MB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.3206, allocations: 19.92 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3206, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.3207, allocations: 12 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.3209, allocations: 12.09 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.3214, allocations: 135.7 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.3217, allocations: 0.6729 MB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.3217, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.3217, allocations: 11.44 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3217, allocations: 3.938 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.3441, allocations: 1.382 MB / 1.096 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.92, allocations: 18.53 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches