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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.525/2.525, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.89 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7643/0.7661, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001815/0.7679, allocations: 1.272 MB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007461/0.7687, allocations: 0.5905 MB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.7687, allocations: 4.938 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.7687, allocations: 0.5625 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.35e-05/0.7687, allocations: 1.328 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.7692, allocations: 146 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.987e-05/0.7692, allocations: 10.47 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.7692, allocations: 1.984 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.493e-05/0.7693, allocations: 2.641 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.7693, allocations: 7.438 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.088e-06/0.7693, allocations: 8.625 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.7697, allocations: 345.4 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.7698, allocations: 4 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.611e-05/0.7698, allocations: 4.266 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.77, allocations: 149.1 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.77, allocations: 0 / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.133e-06/0.77, allocations: 0 / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.77, allocations: 0.875 kB / 1.274 GB, free: 6.195 MB / 0.9981 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.0002551/0.7702, allocations: 342.4 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.7703, allocations: 13.62 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.141e-05/0.7703, allocations: 33.5 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.825e-05/0.7703, allocations: 6 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.926e-05/0.7704, allocations: 169.4 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.7704, allocations: 1.969 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-06/0.7704, allocations: 1.375 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.317e-05/0.7705, allocations: 31.91 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.7705, allocations: 4.75 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.7705, allocations: 0 / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.7705, allocations: 4.594 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.118e-05/0.7705, allocations: 6.688 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.576e-05/0.7706, allocations: 150 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/0.7706, allocations: 25.23 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.7706, allocations: 8.984 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.7706, allocations: 0.6875 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.7707, allocations: 36.09 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.7707, allocations: 0 / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001069/0.7708, allocations: 55.27 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.7708, allocations: 52.38 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.573e-05/0.7708, allocations: 94.48 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-06/0.7708, allocations: 25.7 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.738e-06/0.7708, allocations: 80.95 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.7709, allocations: 9.312 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.7709, allocations: 17.42 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.076e-05/0.7709, allocations: 313.7 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.7709, allocations: 2.594 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.7709, allocations: 2.062 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.255e-05/0.7709, allocations: 13.48 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7709, allocations: 0.9375 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.581e-05/0.771, allocations: 43.09 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.771, allocations: 10.16 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.771, allocations: 6.297 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.771, allocations: 5.016 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.7712, allocations: 11.58 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001863/0.7713, allocations: 0.5796 MB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.7714, allocations: 1.188 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.7714, allocations: 0.7969 kB / 1.276 GB, free: 3.945 MB / 0.9981 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 3.632e-05/0.7714, allocations: 122.8 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.7714, allocations: 1.062 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.347e-05/0.7715, allocations: 43.39 kB / 1.276 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.7715, allocations: 0 / 1.276 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.7715, allocations: 1.031 kB / 1.276 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.7715, allocations: 0 / 1.276 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.298e-05/0.7715, allocations: 156 kB / 1.276 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.7715, allocations: 0 / 1.276 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.7716, allocations: 14.36 kB / 1.276 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.7716, allocations: 0 / 1.276 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.7716, allocations: 0.9062 kB / 1.276 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001427/0.7717, allocations: 0.5893 MB / 1.277 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7717, allocations: 7.938 kB / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.427e-05/0.7718, allocations: 63.8 kB / 1.277 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.7718, allocations: 78.73 kB / 1.277 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.7718, allocations: 0.9688 kB / 1.277 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.7718, allocations: 7.406 kB / 1.277 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-06/0.7718, allocations: 5 kB / 1.277 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.7718, allocations: 1.312 kB / 1.277 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.42e-05/0.7718, allocations: 85.34 kB / 1.277 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.7718, allocations: 0 / 1.277 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001731/0.772, allocations: 15.31 kB / 1.277 GB, free: 2.719 MB / 0.9981 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.0002126/0.7722, allocations: 0.6082 MB / 1.278 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.7724, allocations: 19.45 kB / 1.278 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7724, allocations: 0 / 1.278 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.7725, allocations: 23.05 kB / 1.278 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.7726, allocations: 6.969 kB / 1.278 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.7729, allocations: 140.8 kB / 1.278 GB, free: 17.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.7732, allocations: 0.6738 MB / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.206e-05/0.7732, allocations: 0 / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.7732, allocations: 8.5 kB / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.7732, allocations: 4.844 kB / 1.279 GB, free: 17.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.7968, allocations: 1.348 MB / 1.28 GB, free: 16.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.91, allocations: 2.891 kB / 1.28 GB, free: 16.87 MB / 1.014 GB " [Timeout remaining time 289] (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: 16.301344356994377]