Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 106.5 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 216.2 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.036/3.036, allocations: 476.7 MB / 0.7672 GB, free: 5.207 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_11_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_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 79.88 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002722/1.009, allocations: 1.284 MB / 1.28 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001086/1.01, allocations: 0.5916 MB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/1.01, allocations: 0 / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/1.01, allocations: 3.938 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.916e-05/1.01, allocations: 3.984 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/1.011, allocations: 146.9 kB / 1.28 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.349e-05/1.011, allocations: 7.938 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/1.011, allocations: 4 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.772e-05/1.011, allocations: 4 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/1.011, allocations: 7.938 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/1.011, allocations: 0 / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005582/1.012, allocations: 343.3 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/1.012, allocations: 4 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/1.012, allocations: 11.92 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/1.012, allocations: 141.3 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.012, allocations: 4 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/1.012, allocations: 0 / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.012, allocations: 0 / 1.281 GB, free: 10.84 MB / 0.9825 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.0005439/1.012, allocations: 347.2 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.013, allocations: 8.031 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/1.013, allocations: 34.75 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/1.013, allocations: 4.891 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/1.013, allocations: 164.3 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/1.013, allocations: 4.375 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/1.013, allocations: 384 / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.704e-05/1.013, allocations: 34.25 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.013, allocations: 7.938 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/1.013, allocations: 3.938 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/1.013, allocations: 4 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/1.013, allocations: 3.938 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/1.013, allocations: 157.7 kB / 1.281 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.432e-05/1.013, allocations: 18.61 kB / 1.281 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/1.013, allocations: 14.62 kB / 1.282 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/1.013, allocations: 0 / 1.282 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/1.013, allocations: 34.56 kB / 1.282 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/1.013, allocations: 0 / 1.282 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001607/1.013, allocations: 53.56 kB / 1.282 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/1.013, allocations: 51.41 kB / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/1.014, allocations: 89.86 kB / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/1.014, allocations: 29.7 kB / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/1.014, allocations: 80.39 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/1.014, allocations: 11.94 kB / 1.282 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/1.014, allocations: 21.7 kB / 1.282 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.014, allocations: 310.8 kB / 1.282 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/1.014, allocations: 0 / 1.282 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/1.014, allocations: 4 kB / 1.282 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/1.014, allocations: 12.86 kB / 1.282 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.014, allocations: 0 / 1.282 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.202e-05/1.014, allocations: 45.69 kB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.014, allocations: 11.94 kB / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/1.014, allocations: 0 / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.014, allocations: 0 / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/1.014, allocations: 12 kB / 1.282 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000468/1.015, allocations: 0.5821 MB / 1.283 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/1.015, allocations: 0 / 1.283 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/1.015, allocations: 8.062 kB / 1.283 GB, free: 8.453 MB / 0.9825 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.849e-05/1.015, allocations: 118.3 kB / 1.283 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-06/1.015, allocations: 3.953 kB / 1.283 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/1.015, allocations: 44.81 kB / 1.283 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.015, allocations: 0 / 1.283 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.015, allocations: 4 kB / 1.283 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/1.015, allocations: 0 / 1.283 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/1.015, allocations: 157.6 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/1.015, allocations: 7.969 kB / 1.283 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/1.015, allocations: 8 kB / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.015, allocations: 0 / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/1.015, allocations: 0 / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003891/1.016, allocations: 0.586 MB / 1.284 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.016, allocations: 3.969 kB / 1.284 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.043e-05/1.016, allocations: 65.23 kB / 1.284 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/1.016, allocations: 77.11 kB / 1.284 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/1.016, allocations: 0 / 1.284 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/1.016, allocations: 3.984 kB / 1.284 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/1.016, allocations: 7.938 kB / 1.284 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/1.016, allocations: 0 / 1.284 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.406e-05/1.016, allocations: 79.28 kB / 1.284 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.016, allocations: 128 / 1.284 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001953/1.016, allocations: 15.94 kB / 1.284 GB, free: 7.152 MB / 0.9825 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.0005745/1.017, allocations: 0.6162 MB / 1.285 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001752/1.017, allocations: 15.98 kB / 1.285 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.017, allocations: 8.094 kB / 1.285 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/1.017, allocations: 11.94 kB / 1.285 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/1.017, allocations: 13.55 kB / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/1.018, allocations: 135.7 kB / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/1.018, allocations: 0.6805 MB / 1.285 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.923e-05/1.018, allocations: 4.062 kB / 1.285 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/1.018, allocations: 7.438 kB / 1.285 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/1.018, allocations: 0 / 1.285 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/1.045, allocations: 1.408 MB / 1.287 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.24, allocations: 21.11 kB / 1.287 GB, free: 4.371 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.943528544856235]