Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.0009354/0.0009354, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0008855/0.0008855, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9713/0.9713, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.733/1.733, allocations: 359 MB / 0.6052 GB, free: 11 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.071e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001589/0.00161, allocations: 1.336 MB / 0.7884 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007179/0.002328, allocations: 0.569 MB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.002351, allocations: 0 / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.002377, allocations: 3.938 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.002429, allocations: 7.922 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.002923, allocations: 148.8 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.721e-05/0.00298, allocations: 19.92 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.003019, allocations: 5.094 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.003053, allocations: 15.91 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.003098, allocations: 4 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.003111, allocations: 0.5938 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.003404, allocations: 271.4 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.003417, allocations: 1.125 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.003436, allocations: 4 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.003636, allocations: 167.4 kB / 0.7896 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003638, allocations: 2.594 kB / 0.7896 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003638, allocations: 0 / 0.7896 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.758e-06/0.003642, allocations: 7.938 kB / 0.7896 GB, free: 9.949 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003544/0.003997, allocations: 380 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.004033, allocations: 8.031 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.004076, allocations: 5.281 kB / 0.79 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.095e-05/0.004167, allocations: 113.3 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.004178, allocations: 384 / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.00419, allocations: 8.906 kB / 0.7901 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.152e-05/0.004271, allocations: 31.92 kB / 0.7901 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.00428, allocations: 4.188 kB / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.004291, allocations: 4.359 kB / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.004298, allocations: 384 / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.268e-05/0.004331, allocations: 19.88 kB / 0.7901 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.004601, allocations: 252.5 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.004768, allocations: 48.17 kB / 0.7904 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.004793, allocations: 19.69 kB / 0.7904 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.004808, allocations: 5.094 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.004829, allocations: 37.39 kB / 0.7905 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.00483, allocations: 0 / 0.7905 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001424/0.004972, allocations: 67.11 kB / 0.7905 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.005, allocations: 51.41 kB / 0.7906 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.005066, allocations: 161.9 kB / 0.7908 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.005075, allocations: 27.45 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.005118, allocations: 130.8 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.00513, allocations: 19.83 kB / 0.7909 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.005159, allocations: 23.38 kB / 0.7909 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.005263, allocations: 492.1 kB / 0.7914 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.005277, allocations: 9.281 kB / 0.7914 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/0.005305, allocations: 27.36 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.005342, allocations: 36.16 kB / 0.7915 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.005345, allocations: 0 / 0.7915 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.071e-05/0.005405, allocations: 58.66 kB / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.005417, allocations: 4 kB / 0.7915 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005421, allocations: 3.938 kB / 0.7915 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.005438, allocations: 1.406 kB / 0.7915 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-05/0.005473, allocations: 15.98 kB / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.005478, allocations: 0 / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.477e-05/0.005493, allocations: 4 kB / 0.7916 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.005498, allocations: 1.344 kB / 0.7916 GB, free: 7.715 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.005558, allocations: 156.6 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.00557, allocations: 3.953 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.005675, allocations: 72.23 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005677, allocations: 0 / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.00568, allocations: 0 / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005683, allocations: 0 / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.973e-05/0.005772, allocations: 116.6 kB / 0.7919 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005773, allocations: 0 / 0.7919 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.00579, allocations: 8 kB / 0.7919 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.005792, allocations: 0.5 kB / 0.7919 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.0058, allocations: 5.922 kB / 0.7919 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.005802, allocations: 3.938 kB / 0.7919 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005803, allocations: 0 / 0.7919 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.555e-05/0.005899, allocations: 203.9 kB / 0.7921 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.005906, allocations: 7.891 kB / 0.7921 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.005915, allocations: 0 / 0.7921 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.5e-05/0.00594, allocations: 4.781 kB / 0.7921 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.005958, allocations: 7.938 kB / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.00596, allocations: 0.8438 kB / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.005994, allocations: 127.5 kB / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005994, allocations: 0.5625 kB / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001713/0.006165, allocations: 19.94 kB / 0.7923 GB, free: 6.922 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001359/0.006301, allocations: 118 kB / 0.7924 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.006396, allocations: 31.8 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.006398, allocations: 0 / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.006414, allocations: 23.61 kB / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.006563, allocations: 0 / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.006805, allocations: 128.4 kB / 0.7926 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.223e-05/0.006837, allocations: 51.36 kB / 0.7926 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.006864, allocations: 9.234 kB / 0.7926 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.006881, allocations: 9.562 kB / 0.7926 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.006881, allocations: 4 kB / 0.7926 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.002146/0.009027, allocations: 0.5802 MB / 0.7932 GB, free: 5.93 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.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.877299110870808]