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.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.002458/0.002458, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002994/0.002994, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.999/2.999, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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,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 1.393e-06/1.393e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.76e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002336/0.002364, allocations: 1.292 MB / 0.7876 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003427, allocations: 0.5599 MB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.003449, allocations: 1.625 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.003462, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.797e-05/0.00351, allocations: 3.938 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.004024, allocations: 140.8 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.004075, allocations: 15.92 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.306e-05/0.004108, allocations: 3.984 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.004145, allocations: 9.594 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.004185, allocations: 0 / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.004198, allocations: 0 / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.00465, allocations: 271.4 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.004661, allocations: 3.438 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.004681, allocations: 8 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.004985, allocations: 151.5 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004987, allocations: 0 / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004988, allocations: 0 / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.004992, allocations: 0 / 0.7888 GB, free: 10.36 MB / 0.7448 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.0004667/0.005458, allocations: 376 kB / 0.7891 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.005491, allocations: 8.031 kB / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.005529, allocations: 4.938 kB / 0.7891 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.005642, allocations: 109.3 kB / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.005652, allocations: 384 / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.005659, allocations: 0.9688 kB / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.983e-05/0.005759, allocations: 38.91 kB / 0.7893 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.005767, allocations: 192 / 0.7893 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.005774, allocations: 1.594 kB / 0.7893 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.005777, allocations: 384 / 0.7893 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.695e-05/0.005804, allocations: 7.938 kB / 0.7893 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.005967, allocations: 113.3 kB / 0.7894 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.872e-05/0.006036, allocations: 32.2 kB / 0.7894 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.006061, allocations: 15.75 kB / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.006081, allocations: 0 / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.006122, allocations: 46.14 kB / 0.7895 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.006123, allocations: 3.938 kB / 0.7895 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.006271, allocations: 42.31 kB / 0.7895 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.006316, allocations: 52.62 kB / 0.7896 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.006432, allocations: 161.9 kB / 0.7897 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.006451, allocations: 25.7 kB / 0.7898 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.006522, allocations: 127.6 kB / 0.7899 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.006548, allocations: 13.11 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.006586, allocations: 19.38 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002466/0.006833, allocations: 496.1 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.006844, allocations: 0 / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.00686, allocations: 14.2 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.006895, allocations: 19.62 kB / 0.7904 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.006897, allocations: 0 / 0.7904 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.37e-05/0.00696, allocations: 33.7 kB / 0.7904 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.006974, allocations: 12.97 kB / 0.7905 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.00698, allocations: 3.984 kB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.006992, allocations: 0 / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.007141, allocations: 11.98 kB / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006105/0.007752, allocations: 0.901 MB / 0.7914 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.007769, allocations: 0 / 0.7914 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.007776, allocations: 5.469 kB / 0.7914 GB, free: 7.484 MB / 0.7448 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 0.0001105/0.007887, allocations: 152.6 kB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.007899, allocations: 7.922 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.008011, allocations: 46.08 kB / 0.7916 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.008013, allocations: 0 / 0.7916 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.008016, allocations: 1.375 kB / 0.7916 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.008018, allocations: 0 / 0.7916 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.008125, allocations: 116.6 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.008126, allocations: 0.625 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.008206, allocations: 11.94 kB / 0.7917 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.00821, allocations: 5.953 kB / 0.7917 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.008219, allocations: 3.938 kB / 0.7917 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005527/0.008772, allocations: 0.8933 MB / 0.7926 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008773, allocations: 0 / 0.7926 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.881e-05/0.008872, allocations: 84.88 kB / 0.7926 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.008879, allocations: 4.531 kB / 0.7926 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.008889, allocations: 5.062 kB / 0.7926 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/0.008903, allocations: 0 / 0.7926 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.00892, allocations: 0 / 0.7926 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.008922, allocations: 0.9375 kB / 0.7926 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.796e-05/0.00899, allocations: 123.2 kB / 0.7928 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00899, allocations: 0.8438 kB / 0.7928 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001823/0.009172, allocations: 11.94 kB / 0.7928 GB, free: 5.93 MB / 0.7448 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.0001619/0.009334, allocations: 104.2 kB / 0.7929 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.009518, allocations: 35.64 kB / 0.7929 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009519, allocations: 0 / 0.7929 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.009623, allocations: 23.61 kB / 0.7929 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.009752, allocations: 7.938 kB / 0.7929 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.01005, allocations: 110.3 kB / 0.793 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.775e-05/0.01011, allocations: 59.34 kB / 0.7931 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.367e-05/0.01013, allocations: 4.938 kB / 0.7931 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.01014, allocations: 9.531 kB / 0.7931 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.01014, allocations: 0 / 0.7931 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of Templates: time 0.003142/0.01329, allocations: 488.8 kB / 0.7936 GB, free: 5.07 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] 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: 8.02373848494608]