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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001207/0.001207, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 197.4 kB / 16.53 MB, free: 6.672 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.158/1.158, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.371/2.371, allocations: 437 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.83 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.5493, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002332/0.5517, allocations: 1.261 MB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.5529, allocations: 0.5954 MB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.5529, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.5529, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.553, allocations: 3.984 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.5534, allocations: 138.9 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.539e-05/0.5535, allocations: 15.92 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.5535, allocations: 4 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.378e-05/0.5535, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.335e-05/0.5536, allocations: 7.938 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.5536, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.5541, allocations: 347.3 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.5541, allocations: 4 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.5541, allocations: 3.984 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.5543, allocations: 145.9 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5543, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5543, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.5544, allocations: 4 kB / 1.02 GB, free: 15.99 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.000316/0.5547, allocations: 347.4 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.5547, allocations: 12.03 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.375e-05/0.5547, allocations: 30.75 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.844e-05/0.5548, allocations: 0.9375 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/0.5549, allocations: 164.4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.5549, allocations: 4.375 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.5549, allocations: 384 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.264e-05/0.555, allocations: 38.25 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.555, allocations: 3.938 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-06/0.555, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.555, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.555, allocations: 7.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.5552, allocations: 149.7 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.5552, allocations: 26.61 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.5552, allocations: 8.797 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.5553, allocations: 4 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.5553, allocations: 34.62 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.5553, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001155/0.5554, allocations: 49.56 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.5554, allocations: 51.41 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.158e-05/0.5555, allocations: 97.8 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.5555, allocations: 25.95 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.5555, allocations: 84.14 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.5556, allocations: 15.83 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.5556, allocations: 17.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.5557, allocations: 310.8 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.5557, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-06/0.5557, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.5558, allocations: 16.86 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.5558, allocations: 4.062 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.935e-05/0.5558, allocations: 45.62 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.5558, allocations: 7.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.5559, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.5559, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.556, allocations: 8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002964/0.5563, allocations: 0.5859 MB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.5563, allocations: 4.125 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.5564, allocations: 4.031 kB / 1.022 GB, free: 13.6 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.229e-05/0.5564, allocations: 114.4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.5564, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.473e-05/0.5565, allocations: 44.81 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5565, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.5565, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.5565, allocations: 4.031 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.406e-05/0.5566, allocations: 157.6 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5566, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-05/0.5567, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5567, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.5567, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002555/0.557, allocations: 0.586 MB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.557, allocations: 7.969 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.945e-05/0.5571, allocations: 61.17 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.5571, allocations: 85.02 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-06/0.5571, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.683e-05/0.5572, allocations: 7.969 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.5572, allocations: 3.938 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.5572, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.121e-05/0.5572, allocations: 87.31 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.322e-06/0.5572, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001895/0.5574, allocations: 11.94 kB / 1.023 GB, free: 12.3 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.0003294/0.5577, allocations: 0.6085 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.5579, allocations: 24.11 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5579, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.558, allocations: 15.94 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.5582, allocations: 3.938 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.5585, allocations: 143.8 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.5587, allocations: 0.673 MB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.314e-05/0.5587, allocations: 0 / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.5587, allocations: 11.44 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5587, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.5841, allocations: 1.319 MB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.81, allocations: 11.58 kB / 1.026 GB, free: 9.566 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