Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001581/0.001581, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.435/1.435, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] 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.915/2.915, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 71.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7747/0.7769, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002568/0.7795, allocations: 1.258 MB / 1.275 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.7806, allocations: 0.5877 MB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.7806, allocations: 0 / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.7806, allocations: 0 / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.017e-05/0.7807, allocations: 4 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.7812, allocations: 144.6 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.662e-05/0.7813, allocations: 19.88 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.7813, allocations: 3.984 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.7814, allocations: 4 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.7814, allocations: 3.938 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.7814, allocations: 0 / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.782, allocations: 347.3 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.782, allocations: 0 / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.782, allocations: 0 / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.7823, allocations: 142.2 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.7823, allocations: 0 / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7823, allocations: 4 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.7823, allocations: 4 kB / 1.277 GB, free: 2.051 MB / 0.9669 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.000461/0.7827, allocations: 359.1 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.7828, allocations: 8.031 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.7828, allocations: 4.938 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.7829, allocations: 160.4 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.783, allocations: 4.375 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.783, allocations: 384 / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.932e-05/0.7831, allocations: 34.27 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.7831, allocations: 192 / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.7831, allocations: 3.938 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.7831, allocations: 3.938 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.7831, allocations: 11.98 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.7833, allocations: 141.7 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.502e-05/0.7833, allocations: 30.55 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.7834, allocations: 12.84 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.7834, allocations: 3.984 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.7834, allocations: 34.62 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.7834, allocations: 0 / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001566/0.7836, allocations: 49.53 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.7836, allocations: 51.41 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.953e-05/0.7837, allocations: 97.84 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.7837, allocations: 33.95 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.7837, allocations: 80.14 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.7838, allocations: 3.938 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.7838, allocations: 13.72 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.7839, allocations: 310.8 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.7839, allocations: 8 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.7839, allocations: 3.984 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.784, allocations: 16.86 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.784, allocations: 0 / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.455e-05/0.784, allocations: 49.59 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.7841, allocations: 4 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7841, allocations: 3.938 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.7841, allocations: 0 / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.7842, allocations: 11.98 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000416/0.7847, allocations: 0.586 MB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.7847, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.7847, allocations: 8.016 kB / 1.279 GB, free: 15.69 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 8.036e-05/0.7848, allocations: 109.8 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.7848, allocations: 4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.7849, allocations: 44.81 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7849, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7849, allocations: 4 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.7849, allocations: 4.094 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.785, allocations: 149.6 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.785, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.316e-05/0.7851, allocations: 11.98 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7851, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.7851, allocations: 4 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003509/0.7854, allocations: 0.5898 MB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.7855, allocations: 12.03 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.232e-05/0.7855, allocations: 66.72 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.7856, allocations: 77.11 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.7856, allocations: 8 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.435e-05/0.7856, allocations: 0 / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.7856, allocations: 3.938 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.7856, allocations: 0 / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.7857, allocations: 87.25 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7857, allocations: 0 / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002/0.7859, allocations: 15.92 kB / 1.28 GB, free: 14.39 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.0001769/0.786, allocations: 107.8 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.7862, allocations: 19.98 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7862, allocations: 0 / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.274e-05/0.7863, allocations: 12.14 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.7865, allocations: 9.312 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.7868, allocations: 120.6 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.7871, allocations: 0.6768 MB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.624e-05/0.7871, allocations: 0 / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.7871, allocations: 11.38 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.7871, allocations: 0 / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of Templates: time 0.002887/0.79, allocations: 457.2 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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: 8.523146621882915]