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.001315/0.001315, allocations: 113 kB / 17.6 MB, free: 4.684 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.001325/0.001325, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.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.753/2.753, allocations: 476.7 MB / 0.7629 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 176] 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.002024/0.002024, allocations: 68.12 kB / 1.107 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.103, allocations: 168.7 MB / 1.272 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002502/1.105, allocations: 1.264 MB / 1.273 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001102/1.106, allocations: 0.5929 MB / 1.274 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/1.106, allocations: 3.938 kB / 1.274 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/1.106, allocations: 0 / 1.274 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/1.106, allocations: 1.562 kB / 1.274 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/1.107, allocations: 147 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.816e-05/1.107, allocations: 10.77 kB / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/1.107, allocations: 0.9062 kB / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.223e-05/1.107, allocations: 9.344 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/1.107, allocations: 9.75 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/1.107, allocations: 1 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005534/1.108, allocations: 340.8 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/1.108, allocations: 4.766 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/1.108, allocations: 5.719 kB / 1.274 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/1.108, allocations: 145 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.108, allocations: 0 / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.424e-06/1.108, allocations: 1.578 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.121e-06/1.108, allocations: 0 / 1.274 GB, free: 6.422 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.0004025/1.108, allocations: 344.9 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.109, allocations: 9.781 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/1.109, allocations: 2.156 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/1.109, allocations: 165.1 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/1.109, allocations: 5.406 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/1.109, allocations: 1.375 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/1.109, allocations: 33.42 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.109, allocations: 4.125 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/1.109, allocations: 3.938 kB / 1.275 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.109, allocations: 0.875 kB / 1.275 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.94e-05/1.109, allocations: 3.469 kB / 1.275 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/1.109, allocations: 150.8 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.363e-05/1.109, allocations: 24.5 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/1.109, allocations: 10.98 kB / 1.275 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/1.109, allocations: 0 / 1.275 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/1.109, allocations: 33.38 kB / 1.275 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/1.109, allocations: 0.7812 kB / 1.275 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001612/1.109, allocations: 52.62 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/1.109, allocations: 56.34 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/1.109, allocations: 97.94 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/1.109, allocations: 25.7 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.64e-05/1.109, allocations: 80.98 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/1.109, allocations: 8.734 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/1.109, allocations: 17.61 kB / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.474e-05/1.109, allocations: 311.7 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/1.109, allocations: 7.109 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-06/1.109, allocations: 6.469 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/1.11, allocations: 18.23 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.11, allocations: 0 / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.01e-05/1.11, allocations: 44.16 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.11, allocations: 7.938 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.11, allocations: 4.875 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.11, allocations: 0 / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/1.11, allocations: 10.19 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002478/1.11, allocations: 0.588 MB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/1.11, allocations: 1.031 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/1.11, allocations: 1.188 kB / 1.276 GB, free: 4.211 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 5.125e-05/1.11, allocations: 112.2 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-06/1.11, allocations: 0.9375 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/1.11, allocations: 51.2 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.11, allocations: 0.6875 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/1.11, allocations: 2.016 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/1.11, allocations: 0 / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.618e-05/1.11, allocations: 156.8 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.11, allocations: 0 / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/1.11, allocations: 10 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.11, allocations: 0 / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/1.11, allocations: 0 / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001776/1.111, allocations: 0.5916 MB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/1.111, allocations: 7.828 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.843e-05/1.111, allocations: 58.61 kB / 1.277 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/1.111, allocations: 77.92 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/1.111, allocations: 0.875 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/1.111, allocations: 2.219 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/1.111, allocations: 16.5 kB / 1.278 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/1.111, allocations: 4.828 kB / 1.278 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.907e-05/1.111, allocations: 88.28 kB / 1.278 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.111, allocations: 0 / 1.278 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001972/1.111, allocations: 10.59 kB / 1.278 GB, free: 2.984 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.0001668/1.111, allocations: 110.8 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001661/1.111, allocations: 21.45 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.111, allocations: 0 / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/1.111, allocations: 16.02 kB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/1.111, allocations: 6.5 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/1.112, allocations: 117.1 kB / 1.278 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/1.112, allocations: 0.6743 MB / 1.279 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.567e-05/1.112, allocations: 5.953 kB / 1.279 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/1.112, allocations: 8.906 kB / 1.279 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.112, allocations: 0 / 1.279 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of Templates: time 0.002881/1.115, allocations: 461.8 kB / 1.279 GB, free: 1.984 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.30762492120266]