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.0009016/0.0009016, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001054/0.001054, allocations: 165 kB / 23.82 MB, free: 0.75 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.9368/0.9368, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.815/1.815, allocations: 359 MB / 0.6052 GB, free: 11.01 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.543e-06/1.543e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.065e-05, allocations: 3.922 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002641/0.002671, allocations: 1.32 MB / 0.7884 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.003872, allocations: 0.556 MB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.445e-05/0.003907, allocations: 0 / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.003934, allocations: 3.344 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.556e-05/0.00399, allocations: 0 / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.004666, allocations: 147.2 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.692e-05/0.004743, allocations: 11.94 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.303e-05/0.004806, allocations: 4 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.297e-05/0.004859, allocations: 3.984 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.004926, allocations: 4.875 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.004942, allocations: 0 / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.005378, allocations: 275.4 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.0054, allocations: 0.5938 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.005425, allocations: 1.438 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.005768, allocations: 151.5 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.005773, allocations: 3.984 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005774, allocations: 0 / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.00578, allocations: 4.688 kB / 0.7895 GB, free: 10.04 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.0005963/0.006377, allocations: 376 kB / 0.7899 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.197e-05/0.006449, allocations: 12.72 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.006509, allocations: 0.9375 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.006647, allocations: 110.2 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.006664, allocations: 384 / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.006675, allocations: 384 / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.00681, allocations: 34.75 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.006825, allocations: 1.625 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.006842, allocations: 384 / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.006857, allocations: 384 / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.516e-05/0.006892, allocations: 13.47 kB / 0.79 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.007112, allocations: 116.6 kB / 0.7901 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.894e-05/0.007191, allocations: 31 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.007219, allocations: 15.67 kB / 0.7902 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.007248, allocations: 0.5 kB / 0.7902 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.007294, allocations: 42.89 kB / 0.7902 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.007296, allocations: 0 / 0.7902 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002019/0.007498, allocations: 37.64 kB / 0.7903 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.007548, allocations: 56 kB / 0.7903 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.007655, allocations: 163.9 kB / 0.7905 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.007669, allocations: 25.7 kB / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.007721, allocations: 126.9 kB / 0.7906 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.007766, allocations: 7.953 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.007804, allocations: 19.38 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.008008, allocations: 496.7 kB / 0.7911 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.008025, allocations: 0 / 0.7911 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.008037, allocations: 0.7188 kB / 0.7911 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.008082, allocations: 25.08 kB / 0.7911 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.008085, allocations: 0 / 0.7911 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.437e-05/0.008179, allocations: 37.64 kB / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.008224, allocations: 4.625 kB / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.008235, allocations: 1.031 kB / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.008257, allocations: 0 / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.008459, allocations: 11.98 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004773/0.008936, allocations: 0.8947 MB / 0.7921 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.008958, allocations: 0 / 0.7921 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.008967, allocations: 7.938 kB / 0.7921 GB, free: 7.18 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.558e-05/0.009052, allocations: 153.5 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.009065, allocations: 12.78 kB / 0.7922 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.009219, allocations: 47.12 kB / 0.7923 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.009223, allocations: 0 / 0.7923 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.009228, allocations: 4 kB / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.009233, allocations: 0 / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.009346, allocations: 116.6 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.009349, allocations: 4 kB / 0.7924 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.009427, allocations: 6.688 kB / 0.7924 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.009432, allocations: 4 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.009442, allocations: 3.938 kB / 0.7924 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003798/0.009822, allocations: 0.901 MB / 0.7933 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.009825, allocations: 3.984 kB / 0.7933 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.727e-05/0.009912, allocations: 73.98 kB / 0.7934 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.009926, allocations: 7.984 kB / 0.7934 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.00994, allocations: 0 / 0.7934 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.009952, allocations: 0 / 0.7934 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.009973, allocations: 0 / 0.7934 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.009977, allocations: 4.5 kB / 0.7934 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.01003, allocations: 119.7 kB / 0.7935 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01003, allocations: 1.625 kB / 0.7935 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002556/0.01029, allocations: 11.94 kB / 0.7935 GB, free: 5.621 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.0002395/0.01053, allocations: 116 kB / 0.7936 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.01073, allocations: 28.17 kB / 0.7936 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01074, allocations: 1.094 kB / 0.7936 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.534e-05/0.01079, allocations: 19.67 kB / 0.7937 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.01098, allocations: 8.594 kB / 0.7937 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.01142, allocations: 111.2 kB / 0.7938 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.01146, allocations: 59.23 kB / 0.7938 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.97e-05/0.01148, allocations: 0 / 0.7938 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.01151, allocations: 12.44 kB / 0.7938 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of SimCode: time 1.854e-06/0.01151, allocations: 0 / 0.7938 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.003386/0.0149, allocations: 0.5025 MB / 0.7943 GB, free: 4.738 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.99521628767252]