Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.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.001047/0.001047, allocations: 80.41 kB / 20.72 MB, free: 3.824 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.001217/0.001217, allocations: 177.2 kB / 24 MB, free: 0.543 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.9728/0.9728, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.771/1.771, allocations: 378.2 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.9827 GB, free: 2.312 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.675e-05, allocations: 2.281 kB / 0.9827 GB, free: 2.309 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.001383/0.0014, allocations: 1.293 MB / 0.984 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006027/0.002003, allocations: 0.5214 MB / 0.9845 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.002028, allocations: 4 kB / 0.9845 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.002045, allocations: 3.984 kB / 0.9845 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.002083, allocations: 7.922 kB / 0.9845 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.002457, allocations: 155.3 kB / 0.9847 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.632e-05/0.002503, allocations: 7.938 kB / 0.9847 GB, free: 316 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.002542, allocations: 4 kB / 0.9847 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.002572, allocations: 11.92 kB / 0.9847 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.002607, allocations: 7.938 kB / 0.9847 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.002618, allocations: 11.92 kB / 0.9847 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.002916, allocations: 303.5 kB / 0.985 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.002928, allocations: 0 / 0.985 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.002944, allocations: 8 kB / 0.985 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.003127, allocations: 155.4 kB / 0.9852 GB, free: 15.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003129, allocations: 0 / 0.9852 GB, free: 15.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.164e-06/0.003132, allocations: 4 kB / 0.9852 GB, free: 15.81 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.003137, allocations: 0 / 0.9852 GB, free: 15.81 MB / 0.948 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.0002944/0.003431, allocations: 274 kB / 0.9854 GB, free: 15.51 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.003464, allocations: 8.031 kB / 0.9854 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.003491, allocations: 4.938 kB / 0.9854 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.491e-05/0.003556, allocations: 109.8 kB / 0.9855 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.003566, allocations: 384 / 0.9855 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-06/0.003573, allocations: 384 / 0.9856 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.236e-05/0.003655, allocations: 34.25 kB / 0.9856 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.003662, allocations: 192 / 0.9856 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.00367, allocations: 4.375 kB / 0.9856 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.003677, allocations: 8.312 kB / 0.9856 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.003699, allocations: 3.938 kB / 0.9856 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.423e-05/0.003794, allocations: 101.3 kB / 0.9857 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.379e-05/0.003837, allocations: 30.59 kB / 0.9857 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.003853, allocations: 8.922 kB / 0.9857 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.003871, allocations: 0 / 0.9857 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.003888, allocations: 38.5 kB / 0.9858 GB, free: 15.09 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 4.8e-07/0.003889, allocations: 0 / 0.9858 GB, free: 15.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001137/0.004002, allocations: 45.59 kB / 0.9858 GB, free: 15.04 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.004028, allocations: 51.41 kB / 0.9859 GB, free: 14.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.02e-05/0.004078, allocations: 101.8 kB / 0.986 GB, free: 14.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.004085, allocations: 25.7 kB / 0.986 GB, free: 14.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.877e-05/0.004104, allocations: 84.39 kB / 0.9861 GB, free: 14.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.004124, allocations: 11.89 kB / 0.9861 GB, free: 14.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.004144, allocations: 13.72 kB / 0.9861 GB, free: 14.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.308e-05/0.004207, allocations: 310.8 kB / 0.9864 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.004217, allocations: 8 kB / 0.9864 GB, free: 14.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.004224, allocations: 3.984 kB / 0.9864 GB, free: 14.39 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.004247, allocations: 16.8 kB / 0.9864 GB, free: 14.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004248, allocations: 0 / 0.9864 GB, free: 14.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.83e-05/0.004287, allocations: 37.7 kB / 0.9864 GB, free: 14.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.004297, allocations: 4.094 kB / 0.9865 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.004301, allocations: 4 kB / 0.9865 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.004312, allocations: 0 / 0.9865 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.004432, allocations: 11.98 kB / 0.9865 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002318/0.004664, allocations: 0.5937 MB / 0.987 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.809e-06/0.004674, allocations: 0 / 0.987 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.004679, allocations: 0 / 0.987 GB, free: 13.69 MB / 0.948 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 4.974e-05/0.004729, allocations: 109.9 kB / 0.9872 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-06/0.004733, allocations: 3.938 kB / 0.9872 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.004801, allocations: 49.09 kB / 0.9872 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.004802, allocations: 0 / 0.9872 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.004806, allocations: 0 / 0.9872 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.004808, allocations: 0 / 0.9872 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.026e-05/0.004858, allocations: 105.3 kB / 0.9873 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004859, allocations: 0 / 0.9873 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.0049, allocations: 8 kB / 0.9873 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.004903, allocations: 3.984 kB / 0.9873 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.004909, allocations: 3.938 kB / 0.9873 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000164/0.005073, allocations: 0.5977 MB / 0.9879 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.005074, allocations: 0 / 0.9879 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.151e-05/0.005115, allocations: 61.11 kB / 0.988 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.005122, allocations: 11.92 kB / 0.988 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.00513, allocations: 0 / 0.988 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-06/0.005136, allocations: 0 / 0.988 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.006e-05/0.005146, allocations: 0 / 0.988 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.005147, allocations: 0 / 0.988 GB, free: 12.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.307e-05/0.00517, allocations: 79.28 kB / 0.988 GB, free: 12.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00517, allocations: 0 / 0.988 GB, free: 12.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001298/0.0053, allocations: 28.09 kB / 0.9881 GB, free: 12.55 MB / 0.948 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.0001283/0.005428, allocations: 115.7 kB / 0.9882 GB, free: 12.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.005531, allocations: 15.98 kB / 0.9882 GB, free: 12.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.005532, allocations: 0 / 0.9882 GB, free: 12.42 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.005566, allocations: 15.98 kB / 0.9882 GB, free: 12.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.005667, allocations: 10.78 kB / 0.9882 GB, free: 12.39 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.005911, allocations: 130.6 kB / 0.9883 GB, free: 12.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.184e-05/0.005943, allocations: 55.36 kB / 0.9884 GB, free: 12.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.005957, allocations: 8.5 kB / 0.9884 GB, free: 12.15 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.005958, allocations: 3.938 kB / 0.9884 GB, free: 12.15 MB / 0.948 GB Notification: Performance of Templates: time 0.001882/0.007839, allocations: 0.7857 MB / 0.9892 GB, free: 11.37 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -emit_protected > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_inv.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: 7.18814193084836]