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.0008236/0.0008236, 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.0009043/0.0009043, allocations: 166 kB / 24.87 MB, free: 9.258 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 0.9558/0.9558, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.82/1.82, 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_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.152e-06/1.152e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.8e-05, allocations: 2.969 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001607/0.001625, allocations: 1.311 MB / 0.7896 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006908/0.002316, allocations: 0.551 MB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.002339, allocations: 0 / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.002357, allocations: 7.922 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.002398, allocations: 4 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.002762, allocations: 139.3 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.24e-05/0.002804, allocations: 7.938 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.002845, allocations: 4.844 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.644e-05/0.002871, allocations: 7.984 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.002912, allocations: 12.52 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.002924, allocations: 0 / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.003201, allocations: 264.9 kB / 0.7905 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.003213, allocations: 0 / 0.7905 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.207e-05/0.003226, allocations: 4 kB / 0.7906 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.0034, allocations: 159.4 kB / 0.7907 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003402, allocations: 0.75 kB / 0.7907 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.31e-07/0.003402, allocations: 0 / 0.7907 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003406, allocations: 0.7188 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.000294/0.0037, allocations: 369.3 kB / 0.7911 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.003733, allocations: 12.03 kB / 0.7911 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.003759, allocations: 4.922 kB / 0.7911 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.879e-05/0.003837, allocations: 112.8 kB / 0.7912 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.00385, allocations: 8.906 kB / 0.7912 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-06/0.003855, allocations: 1.781 kB / 0.7912 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.017e-05/0.003916, allocations: 30.27 kB / 0.7912 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.003923, allocations: 192 / 0.7912 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.003929, allocations: 1.906 kB / 0.7912 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.003934, allocations: 384 / 0.7912 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.073e-05/0.003944, allocations: 3.938 kB / 0.7912 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.004053, allocations: 105.1 kB / 0.7913 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.399e-05/0.004097, allocations: 31.56 kB / 0.7914 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.004112, allocations: 17.16 kB / 0.7914 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.004126, allocations: 0 / 0.7914 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.004147, allocations: 37.39 kB / 0.7914 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004148, allocations: 0 / 0.7914 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001074/0.004256, allocations: 40.28 kB / 0.7914 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.004285, allocations: 55.41 kB / 0.7915 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.004353, allocations: 153.9 kB / 0.7916 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.004361, allocations: 25.7 kB / 0.7917 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.004396, allocations: 134.8 kB / 0.7918 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.004423, allocations: 8.484 kB / 0.7918 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.004446, allocations: 24.08 kB / 0.7918 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.004561, allocations: 496.1 kB / 0.7923 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-06/0.004568, allocations: 1.375 kB / 0.7923 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.004575, allocations: 4 kB / 0.7923 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/0.004597, allocations: 11.69 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.004598, allocations: 0.625 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.705e-05/0.004645, allocations: 42.75 kB / 0.7924 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/0.004654, allocations: 4 kB / 0.7924 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.00466, allocations: 3.984 kB / 0.7924 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.874e-06/0.004668, allocations: 0.5 kB / 0.7924 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.004773, allocations: 12.97 kB / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003063/0.005079, allocations: 0.8941 MB / 0.7933 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.005094, allocations: 3.984 kB / 0.7933 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.0051, allocations: 4.844 kB / 0.7933 GB, free: 6.926 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 6.001e-05/0.00516, allocations: 160.6 kB / 0.7934 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-06/0.005165, allocations: 2.219 kB / 0.7934 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.00524, allocations: 52.81 kB / 0.7935 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.005242, allocations: 0 / 0.7935 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.005244, allocations: 0 / 0.7935 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.005247, allocations: 0 / 0.7935 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.875e-05/0.005306, allocations: 99.98 kB / 0.7936 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.005308, allocations: 0 / 0.7936 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.00536, allocations: 11.98 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005361, allocations: 0 / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-06/0.005364, allocations: 0 / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002556/0.00562, allocations: 0.8971 MB / 0.7945 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005621, allocations: 5.562 kB / 0.7945 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.935e-05/0.00567, allocations: 76.38 kB / 0.7945 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.005678, allocations: 3.938 kB / 0.7945 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.735e-06/0.005686, allocations: 4.5 kB / 0.7945 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-06/0.005693, allocations: 0 / 0.7945 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.041e-05/0.005703, allocations: 1.156 kB / 0.7945 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.005705, allocations: 0 / 0.7945 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.005738, allocations: 124.8 kB / 0.7947 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005738, allocations: 0 / 0.7947 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001266/0.005865, allocations: 7.938 kB / 0.7947 GB, free: 5.402 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.000109/0.005974, allocations: 114.3 kB / 0.7948 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.006086, allocations: 32.17 kB / 0.7948 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006087, allocations: 1.094 kB / 0.7948 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-05/0.006123, allocations: 23.67 kB / 0.7948 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.932e-05/0.006222, allocations: 0.6562 kB / 0.7948 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.006454, allocations: 115.2 kB / 0.7949 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.488e-05/0.006479, allocations: 51.36 kB / 0.795 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.22e-05/0.006491, allocations: 3.938 kB / 0.795 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.006523, allocations: 70.19 kB / 0.7951 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/0.006523, allocations: 4 kB / 0.7951 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of Templates: time 0.002032/0.008555, allocations: 0.5168 MB / 0.7956 GB, free: 4.441 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.992567287757993]