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.001122/0.001122, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001233/0.001233, allocations: 161 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 1.037/1.037, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.875/1.875, allocations: 359 MB / 0.6052 GB, free: 11.02 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 1.743e-06/1.743e-06, allocations: 0 / 0.7871 GB, free: 11.39 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.926e-05, allocations: 4.125 kB / 0.7871 GB, free: 11.39 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001684/0.001703, allocations: 1.305 MB / 0.7884 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007075/0.002411, allocations: 0.5598 MB / 0.7889 GB, free: 9.539 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.002435, allocations: 0 / 0.7889 GB, free: 9.539 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.002458, allocations: 0.9375 kB / 0.7889 GB, free: 9.539 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.002502, allocations: 3.984 kB / 0.7889 GB, free: 9.535 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.002895, allocations: 144.3 kB / 0.7891 GB, free: 9.395 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.002941, allocations: 12.78 kB / 0.7891 GB, free: 9.383 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.002982, allocations: 0 / 0.7891 GB, free: 9.383 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/0.003016, allocations: 12.73 kB / 0.7891 GB, free: 9.371 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.78e-05/0.003053, allocations: 0 / 0.7891 GB, free: 9.371 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.003067, allocations: 0.75 kB / 0.7891 GB, free: 9.371 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.003348, allocations: 275.4 kB / 0.7893 GB, free: 9.102 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.003361, allocations: 4.547 kB / 0.7893 GB, free: 9.098 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.003377, allocations: 4 kB / 0.7894 GB, free: 9.094 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.003566, allocations: 148.9 kB / 0.7895 GB, free: 8.949 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003568, allocations: 0 / 0.7895 GB, free: 8.949 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003568, allocations: 0 / 0.7895 GB, free: 8.949 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003572, allocations: 4 kB / 0.7895 GB, free: 8.945 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.0003094/0.003882, allocations: 385.1 kB / 0.7899 GB, free: 8.531 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001132/0.003995, allocations: 8.031 kB / 0.7899 GB, free: 8.523 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.004027, allocations: 5.5 kB / 0.7899 GB, free: 8.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.81e-05/0.004105, allocations: 108.6 kB / 0.79 GB, free: 8.387 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.004115, allocations: 1.781 kB / 0.79 GB, free: 8.387 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.004126, allocations: 384 / 0.79 GB, free: 8.387 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.409e-05/0.0042, allocations: 30.27 kB / 0.79 GB, free: 8.352 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.004209, allocations: 1.156 kB / 0.79 GB, free: 8.352 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-06/0.004217, allocations: 384 / 0.79 GB, free: 8.352 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.004223, allocations: 384 / 0.79 GB, free: 8.352 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.004241, allocations: 16.73 kB / 0.79 GB, free: 8.336 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.004355, allocations: 112.6 kB / 0.7901 GB, free: 8.191 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.97e-05/0.004394, allocations: 28.12 kB / 0.7902 GB, free: 8.152 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.004412, allocations: 11.69 kB / 0.7902 GB, free: 8.137 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.004432, allocations: 4.594 kB / 0.7902 GB, free: 8.133 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.004453, allocations: 42.62 kB / 0.7902 GB, free: 8.082 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.004453, allocations: 0 / 0.7902 GB, free: 8.082 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001141/0.004567, allocations: 41.59 kB / 0.7903 GB, free: 8.035 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.004594, allocations: 57 kB / 0.7903 GB, free: 7.969 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.004656, allocations: 157.9 kB / 0.7905 GB, free: 7.797 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.004664, allocations: 25.7 kB / 0.7905 GB, free: 7.766 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.004696, allocations: 136.1 kB / 0.7906 GB, free: 7.629 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.00472, allocations: 7.922 kB / 0.7906 GB, free: 7.621 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.004743, allocations: 19.38 kB / 0.7906 GB, free: 7.594 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.004841, allocations: 496.1 kB / 0.7911 GB, free: 7.098 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.00485, allocations: 3.031 kB / 0.7911 GB, free: 7.098 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-06/0.004857, allocations: 4 kB / 0.7911 GB, free: 7.094 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.373e-05/0.004881, allocations: 11.69 kB / 0.7911 GB, free: 7.078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.004883, allocations: 0 / 0.7911 GB, free: 7.078 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.976e-05/0.004932, allocations: 49.58 kB / 0.7912 GB, free: 7.023 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.004943, allocations: 4 kB / 0.7912 GB, free: 7.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004947, allocations: 0.7188 kB / 0.7912 GB, free: 7.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.004962, allocations: 3.984 kB / 0.7912 GB, free: 7.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.005088, allocations: 13.64 kB / 0.7912 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000301/0.005389, allocations: 0.8932 MB / 0.7921 GB, free: 6.082 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.278e-05/0.005402, allocations: 4 kB / 0.7921 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.005407, allocations: 1.156 kB / 0.7921 GB, free: 6.078 MB / 0.698 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.009e-05/0.005467, allocations: 156.5 kB / 0.7922 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-06/0.005474, allocations: 12.94 kB / 0.7922 GB, free: 5.902 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.637e-05/0.00556, allocations: 46.75 kB / 0.7923 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.005561, allocations: 0 / 0.7923 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.005564, allocations: 0 / 0.7923 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.005567, allocations: 0 / 0.7923 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.593e-05/0.005623, allocations: 120.6 kB / 0.7924 GB, free: 5.699 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.005624, allocations: 1.188 kB / 0.7924 GB, free: 5.699 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.005669, allocations: 8 kB / 0.7924 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00567, allocations: 0 / 0.7924 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.005677, allocations: 3.938 kB / 0.7924 GB, free: 5.688 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002509/0.005927, allocations: 0.903 MB / 0.7933 GB, free: 4.758 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005928, allocations: 0 / 0.7933 GB, free: 4.758 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.00612, allocations: 76.39 kB / 0.7934 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.006126, allocations: 0.5312 kB / 0.7934 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.006134, allocations: 1.688 kB / 0.7934 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-06/0.006141, allocations: 3.984 kB / 0.7934 GB, free: 4.656 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.006155, allocations: 4 kB / 0.7934 GB, free: 4.652 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.006157, allocations: 0 / 0.7934 GB, free: 4.652 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.869e-05/0.006186, allocations: 120.1 kB / 0.7935 GB, free: 4.535 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.006186, allocations: 0 / 0.7935 GB, free: 4.535 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001283/0.006314, allocations: 15.88 kB / 0.7935 GB, free: 4.52 MB / 0.698 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.0001154/0.006429, allocations: 108.4 kB / 0.7936 GB, free: 4.406 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.006545, allocations: 29.48 kB / 0.7936 GB, free: 4.375 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006546, allocations: 0 / 0.7936 GB, free: 4.375 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.006582, allocations: 23.67 kB / 0.7937 GB, free: 4.348 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.006686, allocations: 4.469 kB / 0.7937 GB, free: 4.344 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.00695, allocations: 111.8 kB / 0.7938 GB, free: 4.207 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.006983, allocations: 64.09 kB / 0.7938 GB, free: 4.125 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.435e-05/0.006997, allocations: 0.9375 kB / 0.7938 GB, free: 4.125 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.007013, allocations: 8.5 kB / 0.7938 GB, free: 4.117 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/0.007013, allocations: 1.344 kB / 0.7938 GB, free: 4.117 MB / 0.698 GB Notification: Performance of Templates: time 0.002043/0.009057, allocations: 0.4915 MB / 0.7943 GB, free: 3.684 MB / 0.698 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.199635770171881]