Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.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.0007416/0.0007416, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001787, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007029/0.0007029, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009549/0.001658, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8974/0.8974, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08658/0.9839, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.837/1.837, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4656/2.303, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.455e-05, allocations: 3.547 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002166/0.002181, allocations: 1.369 MB / 0.731 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008325/0.003013, allocations: 0.5844 MB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.00303, allocations: 0.5 kB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.738e-06/0.00304, allocations: 5.344 kB / 0.7316 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.73e-05/0.003067, allocations: 5.531 kB / 0.7316 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.003459, allocations: 142.8 kB / 0.7317 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.003518, allocations: 17.36 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.00356, allocations: 4 kB / 0.7317 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.003609, allocations: 5.422 kB / 0.7317 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.003667, allocations: 8.641 kB / 0.7318 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.003679, allocations: 0.7812 kB / 0.7318 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005023/0.004181, allocations: 326.5 kB / 0.7321 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.004196, allocations: 0.625 kB / 0.7321 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.004212, allocations: 4.906 kB / 0.7321 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.004449, allocations: 127.6 kB / 0.7322 GB, free: 1.859 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.004461, allocations: 4 kB / 0.7322 GB, free: 1.855 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004462, allocations: 0.7812 kB / 0.7322 GB, free: 1.855 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.004476, allocations: 0 / 0.7322 GB, free: 1.855 MB / 0.698 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.0003783/0.004854, allocations: 265.7 kB / 0.7325 GB, free: 1.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.004888, allocations: 12.03 kB / 0.7325 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.004917, allocations: 0.9375 kB / 0.7325 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.251e-05/0.00501, allocations: 110.3 kB / 0.7326 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.00502, allocations: 1.875 kB / 0.7326 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.00503, allocations: 384 / 0.7326 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.706e-05/0.005097, allocations: 34.25 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.005103, allocations: 192 / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-06/0.005108, allocations: 1.406 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.005113, allocations: 384 / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.436e-05/0.005128, allocations: 11.94 kB / 0.7326 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.523e-05/0.005213, allocations: 57.55 kB / 0.7327 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.005258, allocations: 24.14 kB / 0.7327 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.005272, allocations: 16.89 kB / 0.7327 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.005288, allocations: 0 / 0.7327 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.005311, allocations: 34.56 kB / 0.7327 GB, free: 1.211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.005312, allocations: 0.6875 kB / 0.7327 GB, free: 1.211 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 8.528e-05/0.005397, allocations: 31.02 kB / 0.7328 GB, free: 1.176 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.005428, allocations: 55.34 kB / 0.7328 GB, free: 1.109 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.483e-05/0.005483, allocations: 104.3 kB / 0.7329 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.005494, allocations: 29.7 kB / 0.733 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.005518, allocations: 84.14 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.005543, allocations: 7.891 kB / 0.733 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.005569, allocations: 11.06 kB / 0.7331 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.005658, allocations: 322.8 kB / 0.7334 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-06/0.005664, allocations: 0 / 0.7334 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-06/0.005672, allocations: 8 kB / 0.7334 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.268e-05/0.005695, allocations: 13.5 kB / 0.7334 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005697, allocations: 1.125 kB / 0.7334 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.725e-05/0.005744, allocations: 33.64 kB / 0.7334 GB, free: 476 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.005757, allocations: 8.938 kB / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005762, allocations: 0 / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.005774, allocations: 0 / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.005908, allocations: 12.89 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002368/0.006144, allocations: 0.5826 MB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.006156, allocations: 5.094 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.006159, allocations: 0 / 0.734 GB, free: 15.84 MB / 0.7136 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.041e-05/0.00621, allocations: 110.7 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-06/0.006213, allocations: 0 / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.006285, allocations: 54.14 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.006288, allocations: 3.938 kB / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.00629, allocations: 0.5625 kB / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.006292, allocations: 0 / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.906e-05/0.006341, allocations: 75.28 kB / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006342, allocations: 0 / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.006386, allocations: 11.98 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.006391, allocations: 0 / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.006392, allocations: 0.625 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-06/0.006395, allocations: 0 / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001823/0.006577, allocations: 0.5796 MB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.006579, allocations: 3.938 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.538e-05/0.006624, allocations: 66.97 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.006634, allocations: 4 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-06/0.00664, allocations: 0 / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-06/0.006649, allocations: 0 / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.006651, allocations: 0 / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.044e-05/0.006662, allocations: 10.2 kB / 0.7349 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006662, allocations: 0 / 0.7349 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001164/0.006778, allocations: 27.86 kB / 0.7349 GB, free: 14.82 MB / 0.7136 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.0001402/0.006919, allocations: 109.5 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.712e-05/0.006996, allocations: 30.03 kB / 0.7351 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.006999, allocations: 0 / 0.7351 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.339e-05/0.007022, allocations: 16.11 kB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.526e-05/0.007078, allocations: 0 / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.007448, allocations: 100.7 kB / 0.7352 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.626e-05/0.007475, allocations: 59.34 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.00749, allocations: 3.031 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.007517, allocations: 51.38 kB / 0.7353 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.007517, allocations: 0 / 0.7353 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.001779/0.009296, allocations: 0.6186 MB / 0.7359 GB, free: 13.84 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.496267651207745]