Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001117/0.001117, 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.001151/0.001151, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.416/2.416, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5014/0.5027, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001992/0.5047, allocations: 1.245 MB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008124/0.5056, allocations: 0.5838 MB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.663e-05/0.5056, allocations: 4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.5056, allocations: 4 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.568e-05/0.5056, allocations: 3.984 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.5061, allocations: 136.4 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.923e-05/0.5061, allocations: 11.94 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.5062, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.62e-05/0.5062, allocations: 4 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.346e-05/0.5062, allocations: 11.86 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.5062, allocations: 8 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.5067, allocations: 343.3 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.5067, allocations: 0 / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.5067, allocations: 4 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.507, allocations: 149.9 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.507, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.052e-06/0.507, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.507, allocations: 0 / 1.02 GB, free: 15.92 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.000304/0.5073, allocations: 351.4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.5073, allocations: 12.03 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.559e-05/0.5074, allocations: 34.73 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.944e-05/0.5074, allocations: 4.938 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.165e-05/0.5075, allocations: 160.4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.5075, allocations: 384 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.5075, allocations: 384 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.215e-05/0.5076, allocations: 38.25 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5076, allocations: 3.938 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.5076, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.5076, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.5076, allocations: 15.92 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.5078, allocations: 149.7 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.5078, allocations: 22.55 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.5078, allocations: 16.91 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.5079, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.5079, allocations: 30.56 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5079, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001102/0.508, allocations: 45.58 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.508, allocations: 51.41 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.5081, allocations: 97.84 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.5081, allocations: 29.7 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.5081, allocations: 80.14 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.5082, allocations: 7.844 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.5082, allocations: 17.97 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.5083, allocations: 314.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.5083, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/0.5083, allocations: 7.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.5083, allocations: 12.86 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5083, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.547e-05/0.5084, allocations: 41.64 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5084, allocations: 11.94 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.5084, allocations: 4.094 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.5084, allocations: 3.938 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.5086, allocations: 11.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002851/0.5089, allocations: 0.582 MB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.5089, allocations: 4 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.5089, allocations: 0 / 1.022 GB, free: 13.53 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.151e-05/0.509, allocations: 122.5 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.509, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.471e-05/0.5091, allocations: 48.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5091, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5091, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.5091, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.996e-05/0.5092, allocations: 157.6 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5092, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.5093, allocations: 11.98 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5093, allocations: 4.031 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.5093, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002377/0.5095, allocations: 0.5859 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5095, allocations: 3.938 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.169e-05/0.5096, allocations: 65.16 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.5096, allocations: 85.14 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.5097, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.356e-05/0.5097, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.5097, allocations: 7.938 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.5097, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.407e-05/0.5097, allocations: 75.28 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.433e-06/0.5097, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001829/0.5099, allocations: 15.92 kB / 1.023 GB, free: 12.23 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.000313/0.5102, allocations: 0.6126 MB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.5104, allocations: 15.98 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5104, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.5105, allocations: 23.92 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.5106, allocations: 8.656 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.511, allocations: 135.8 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.5112, allocations: 0.6729 MB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.433e-05/0.5112, allocations: 3.984 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.5112, allocations: 7.438 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5112, allocations: 7.938 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5333/1.044, allocations: 1.343 MB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.2, allocations: 18.81 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches