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.001523/0.001523, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001826/0.001826, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.518/2.518, allocations: 437 MB / 0.71 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.5349, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002063/0.537, allocations: 1.322 MB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.538, allocations: 0.6033 MB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.218e-05/0.538, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.538, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.646e-05/0.5381, allocations: 3.984 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.5385, allocations: 117.6 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.706e-05/0.5385, allocations: 15.94 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.106e-05/0.5385, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.5386, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.472e-05/0.5386, allocations: 7.922 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.5386, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.5391, allocations: 347.3 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.5391, allocations: 0 / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.5391, allocations: 0 / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.5393, allocations: 149.9 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5393, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of FrontEnd: time 7.02e-07/0.5393, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.5394, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 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.0003544/0.5397, allocations: 351.5 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.5398, allocations: 12.03 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.5398, allocations: 30.75 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.953e-05/0.5398, allocations: 0.9375 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.847e-05/0.5399, allocations: 168.4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.5399, allocations: 4.375 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.5399, allocations: 4.375 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.293e-05/0.54, allocations: 30.2 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.54, allocations: 3.938 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.5401, allocations: 8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5401, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.15e-05/0.5401, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.5402, allocations: 153.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/0.5403, allocations: 22.61 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.5403, allocations: 16.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.5403, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.5403, allocations: 38.55 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5404, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001171/0.5405, allocations: 41.64 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.5405, allocations: 51.53 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.5406, allocations: 101.9 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.5406, allocations: 25.7 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.5406, allocations: 84.12 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.5406, allocations: 7.844 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.5407, allocations: 17.66 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.5408, allocations: 314.8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.5408, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.5408, allocations: 8.062 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.5408, allocations: 8.859 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5408, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.89e-05/0.5409, allocations: 45.69 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5409, allocations: 7.938 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.5409, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.541, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.5411, allocations: 11.98 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003104/0.5414, allocations: 0.5899 MB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.5414, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.5415, allocations: 4.031 kB / 1.021 GB, free: 13.82 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.687e-05/0.5415, allocations: 113.8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.5415, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.362e-05/0.5416, allocations: 48.91 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5416, allocations: 0 / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5417, allocations: 0 / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5417, allocations: 7.938 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.594e-05/0.5418, allocations: 149.6 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5418, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.5418, allocations: 15.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5419, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.5419, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002722/0.5421, allocations: 0.5822 MB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5422, allocations: 7.875 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.719e-05/0.5422, allocations: 73 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.5423, allocations: 77.11 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.5423, allocations: 4 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.5423, allocations: 0 / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.5423, allocations: 8.062 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.5423, allocations: 0 / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.5424, allocations: 79.28 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5424, allocations: 0 / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001953/0.5426, allocations: 4 kB / 1.022 GB, free: 12.54 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.0003456/0.5429, allocations: 0.6204 MB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.5431, allocations: 19.92 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5431, allocations: 0 / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.5432, allocations: 15.98 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.5433, allocations: 9.984 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.5437, allocations: 146.1 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.5439, allocations: 0.6731 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.504e-05/0.544, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.544, allocations: 7.438 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.544, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.5664, allocations: 1.204 MB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.5667, allocations: 279.7 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.25, allocations: 2.672 kB / 1.025 GB, free: 9.57 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