Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001012/0.001012, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009787/0.0009787, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.73/1.73, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.159e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002508/0.00253, allocations: 1.311 MB / 0.7896 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.00356, allocations: 0.5523 MB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.003589, allocations: 1 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.003615, allocations: 0 / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.339e-05/0.003669, allocations: 0 / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.004234, allocations: 148.8 kB / 0.7903 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.782e-05/0.004291, allocations: 11.94 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.00434, allocations: 9.219 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.004374, allocations: 8 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.746e-05/0.004421, allocations: 0 / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.004435, allocations: 2.875 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.004882, allocations: 271.4 kB / 0.7906 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.004899, allocations: 0 / 0.7906 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.004916, allocations: 4 kB / 0.7906 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.005196, allocations: 159.4 kB / 0.7907 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005199, allocations: 0 / 0.7907 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.0052, allocations: 3.938 kB / 0.7907 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.005204, allocations: 4 kB / 0.7907 GB, free: 9.758 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.0003756/0.005579, allocations: 373.3 kB / 0.7911 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.005618, allocations: 8.031 kB / 0.7911 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.005648, allocations: 0.9375 kB / 0.7911 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.005748, allocations: 109.6 kB / 0.7912 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.005763, allocations: 5 kB / 0.7912 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.005771, allocations: 384 / 0.7912 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.996e-05/0.005841, allocations: 34.94 kB / 0.7912 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.005848, allocations: 0.875 kB / 0.7912 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.005855, allocations: 384 / 0.7912 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005861, allocations: 1.25 kB / 0.7912 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.511e-05/0.005876, allocations: 7.938 kB / 0.7912 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.006002, allocations: 106.5 kB / 0.7913 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.945e-05/0.006051, allocations: 27.09 kB / 0.7914 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.006072, allocations: 15.67 kB / 0.7914 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.006085, allocations: 1.812 kB / 0.7914 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.006113, allocations: 41.45 kB / 0.7914 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.006115, allocations: 0 / 0.7914 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001211/0.006236, allocations: 37.64 kB / 0.7915 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.00627, allocations: 52.94 kB / 0.7915 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.006352, allocations: 161.9 kB / 0.7917 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.006362, allocations: 25.7 kB / 0.7917 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.006404, allocations: 127.4 kB / 0.7918 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.006434, allocations: 7.953 kB / 0.7918 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.006467, allocations: 21.28 kB / 0.7918 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.006616, allocations: 496.1 kB / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.006627, allocations: 4 kB / 0.7923 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.006634, allocations: 0 / 0.7923 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.015e-05/0.006664, allocations: 22.09 kB / 0.7923 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.006667, allocations: 0 / 0.7923 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.733e-05/0.006734, allocations: 41.64 kB / 0.7924 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.006747, allocations: 4 kB / 0.7924 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.006751, allocations: 4 kB / 0.7924 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.006762, allocations: 0 / 0.7924 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.006893, allocations: 16.52 kB / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004119/0.007305, allocations: 0.89 MB / 0.7933 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.007323, allocations: 0.5312 kB / 0.7933 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.007328, allocations: 5.562 kB / 0.7933 GB, free: 6.934 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 8.711e-05/0.007415, allocations: 152.6 kB / 0.7934 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.007424, allocations: 8 kB / 0.7934 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.924e-05/0.007513, allocations: 50.03 kB / 0.7935 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.007515, allocations: 0 / 0.7935 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.007516, allocations: 0.5312 kB / 0.7935 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.00752, allocations: 0 / 0.7935 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.977e-05/0.0076, allocations: 102.1 kB / 0.7936 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.007601, allocations: 0 / 0.7936 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.007668, allocations: 8.844 kB / 0.7936 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.00767, allocations: 0 / 0.7936 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-06/0.007674, allocations: 1.75 kB / 0.7936 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003416/0.008015, allocations: 0.9048 MB / 0.7945 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008016, allocations: 0 / 0.7945 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.969e-05/0.008086, allocations: 73.27 kB / 0.7945 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.008094, allocations: 3.938 kB / 0.7945 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.008103, allocations: 2.281 kB / 0.7945 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.278e-05/0.008116, allocations: 0 / 0.7945 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.008129, allocations: 3.984 kB / 0.7945 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.008132, allocations: 4 kB / 0.7945 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.008172, allocations: 119.2 kB / 0.7947 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.008172, allocations: 0 / 0.7947 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002168/0.008389, allocations: 14 kB / 0.7947 GB, free: 5.41 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.0001451/0.008534, allocations: 117.7 kB / 0.7948 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.00868, allocations: 32.11 kB / 0.7948 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.008682, allocations: 0 / 0.7948 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.008737, allocations: 20.92 kB / 0.7948 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.008867, allocations: 4 kB / 0.7948 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.009121, allocations: 116.1 kB / 0.7949 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.221e-05/0.009153, allocations: 51.36 kB / 0.795 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.009171, allocations: 8.844 kB / 0.795 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.009207, allocations: 67.3 kB / 0.7951 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of SimCode: time 1.152e-06/0.009208, allocations: 0 / 0.7951 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.002323/0.01153, allocations: 0.5385 MB / 0.7956 GB, free: 4.461 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0230878801085055]