Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001628/0.001628, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001792/0.001792, allocations: 223.6 kB / 23 MB, free: 4.914 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.307/3.307, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: 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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [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.002108/0.002108, allocations: 72.19 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3283, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002416/0.3308, allocations: 1.282 MB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.3318, allocations: 0.5103 MB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.3318, allocations: 0 / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.3318, allocations: 0 / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.3318, allocations: 7.938 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.3323, allocations: 139.4 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.082e-05/0.3324, allocations: 8 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.3324, allocations: 3.984 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.3325, allocations: 11.88 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.875e-05/0.3325, allocations: 3.984 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3325, allocations: 4 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.333, allocations: 263.5 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.333, allocations: 0 / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.333, allocations: 11.92 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.3332, allocations: 127.6 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3332, allocations: 7.984 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3332, allocations: 3.938 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3332, allocations: 0 / 1.367 GB, free: 11.16 MB / 1.061 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.0004087/0.3337, allocations: 278 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.3337, allocations: 8.031 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.3337, allocations: 0.9375 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3338, allocations: 110.5 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3338, allocations: 384 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.3339, allocations: 384 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.217e-05/0.3339, allocations: 38.25 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.334, allocations: 4.188 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.334, allocations: 3.938 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.334, allocations: 0 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.173e-05/0.334, allocations: 7.938 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.3341, allocations: 101.3 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.513e-05/0.3342, allocations: 22.55 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.3342, allocations: 12.91 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.3342, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3343, allocations: 38.56 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.3343, allocations: 0 / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001499/0.3344, allocations: 53.53 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.3345, allocations: 51.41 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.3345, allocations: 101.8 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3346, allocations: 25.7 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.3346, allocations: 80.14 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.3346, allocations: 3.953 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.3347, allocations: 13.72 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3348, allocations: 314.8 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.3348, allocations: 4 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.3348, allocations: 4.25 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.511e-05/0.3349, allocations: 16.84 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3349, allocations: 0 / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.3e-05/0.3349, allocations: 41.64 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.335, allocations: 6.031 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.335, allocations: 0 / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.335, allocations: 3.938 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.3351, allocations: 11.98 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004131/0.3355, allocations: 0.5822 MB / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.3355, allocations: 4.031 kB / 1.369 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.3355, allocations: 3.938 kB / 1.369 GB, free: 9.043 MB / 1.061 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.274e-05/0.3356, allocations: 114.9 kB / 1.369 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.3357, allocations: 4 kB / 1.369 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.3358, allocations: 48.94 kB / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.3358, allocations: 3.984 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3358, allocations: 0 / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3358, allocations: 0 / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.116e-05/0.3359, allocations: 105.4 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3359, allocations: 3.938 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.3359, allocations: 8 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.3359, allocations: 3.938 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.3359, allocations: 0 / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003777/0.3363, allocations: 0.5898 MB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3363, allocations: 0 / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/0.3364, allocations: 69.11 kB / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-06/0.3364, allocations: 0 / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.3364, allocations: 12.11 kB / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.3364, allocations: 0 / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.3365, allocations: 0 / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.3365, allocations: 0 / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.3365, allocations: 79.28 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3365, allocations: 0 / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002182/0.3367, allocations: 11.88 kB / 1.37 GB, free: 7.906 MB / 1.061 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.0001649/0.3369, allocations: 111.2 kB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.337, allocations: 28.02 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.337, allocations: 0 / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.649e-05/0.3371, allocations: 15.98 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.3373, allocations: 0 / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.3376, allocations: 132.9 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.665e-05/0.3376, allocations: 55.36 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.3377, allocations: 11.44 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3377, allocations: 0 / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of Templates: time 0.002468/0.3401, allocations: 0.7069 MB / 1.371 GB, free: 6.793 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.211553689092398]