Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_10_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.0007899/0.0007899, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.004715/0.004715, allocations: 172 kB / 16.26 MB, free: 6.613 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003359, allocations: 12 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5816, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001188/0.5828, allocations: 0.9845 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009479/0.5838, allocations: 0.5879 MB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.339e-05/0.5838, allocations: 8 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.5838, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.898e-05/0.5839, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.5843, allocations: 111.6 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.458e-05/0.5844, allocations: 15.92 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.5844, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.936e-05/0.5844, allocations: 4 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.698e-05/0.5845, allocations: 3.938 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.5845, allocations: 4 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.585, allocations: 347.3 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.585, allocations: 8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.585, allocations: 25.7 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.5853, allocations: 141.9 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5853, allocations: 4 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5853, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.5853, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 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.000344/0.5856, allocations: 347.5 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5857, allocations: 8.031 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.5857, allocations: 34.75 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.9e-05/0.5857, allocations: 0.9375 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.985e-05/0.5858, allocations: 164.4 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.5859, allocations: 4.359 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.5859, allocations: 384 / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.651e-05/0.586, allocations: 41.95 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.586, allocations: 7.984 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.586, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.586, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.586, allocations: 8 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.5862, allocations: 157.6 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.5862, allocations: 22.52 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.5863, allocations: 16.92 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.5863, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.5863, allocations: 34.5 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.5863, allocations: 7.938 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001137/0.5864, allocations: 37.69 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.5865, allocations: 59.41 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.5865, allocations: 89.86 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.5865, allocations: 25.7 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.5866, allocations: 80.14 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.5866, allocations: 15.83 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.5866, allocations: 9.719 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.5867, allocations: 319.1 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.5867, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-06/0.5868, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.5868, allocations: 16.8 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5868, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.741e-05/0.5869, allocations: 41.69 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.5869, allocations: 7.938 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5869, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.5869, allocations: 4.094 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.587, allocations: 8 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000316/0.5874, allocations: 0.5898 MB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.5874, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.5874, allocations: 4.031 kB / 1.027 GB, free: 11.19 MB / 0.7794 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 6.39e-05/0.5875, allocations: 117.9 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.5875, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.621e-05/0.5876, allocations: 44.81 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.5876, allocations: 4 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5876, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.5876, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.365e-05/0.5877, allocations: 149.6 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5877, allocations: 4 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.5878, allocations: 4 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.5878, allocations: 4 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.5878, allocations: 7.969 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000267/0.5881, allocations: 0.5937 MB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5881, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.319e-05/0.5882, allocations: 57.17 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.5882, allocations: 89.14 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.5882, allocations: 3.984 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.634e-05/0.5882, allocations: 7.875 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.5883, allocations: 3.938 kB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.5883, allocations: 0 / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.5883, allocations: 79.28 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5883, allocations: 0 / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001924/0.5885, allocations: 8 kB / 1.029 GB, free: 9.898 MB / 0.7794 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.0003785/0.5889, allocations: 0.6204 MB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.5891, allocations: 27.95 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5891, allocations: 0 / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.5892, allocations: 8 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.5893, allocations: 16.09 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.5897, allocations: 132.9 kB / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.5899, allocations: 0.677 MB / 1.03 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.364e-05/0.5899, allocations: 0 / 1.03 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.59, allocations: 15.42 kB / 1.03 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.59, allocations: 4 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.6016, allocations: 1.135 MB / 1.031 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.6019, allocations: 267.2 kB / 1.031 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.29, allocations: 0 / 1.031 GB, free: 7.035 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches