Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001595/0.001595, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.001583/0.001583, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9065/0.9065, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.319/2.319, allocations: 439.8 MB / 0.6834 GB, free: 12.93 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 1.082 GB, free: 24.72 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.25e-05, allocations: 2.281 kB / 1.082 GB, free: 24.72 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002367/0.0024, allocations: 1.325 MB / 1.084 GB, free: 23.8 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0008744/0.003274, allocations: 0.5252 MB / 1.084 GB, free: 23.46 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.003311, allocations: 4 kB / 1.084 GB, free: 23.46 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.417e-05/0.003336, allocations: 5.984 kB / 1.084 GB, free: 23.46 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.00338, allocations: 3.938 kB / 1.084 GB, free: 23.46 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.003974, allocations: 146 kB / 1.084 GB, free: 23.39 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.004038, allocations: 16.23 kB / 1.084 GB, free: 23.39 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.004089, allocations: 0 / 1.084 GB, free: 23.39 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.004127, allocations: 4.938 kB / 1.084 GB, free: 23.39 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.004177, allocations: 7.469 kB / 1.084 GB, free: 23.38 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.004191, allocations: 6.688 kB / 1.084 GB, free: 23.38 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000427/0.004618, allocations: 316.6 kB / 1.085 GB, free: 23.3 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.004634, allocations: 0 / 1.085 GB, free: 23.3 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.004655, allocations: 2.625 kB / 1.085 GB, free: 23.3 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.004913, allocations: 155.7 kB / 1.085 GB, free: 23.25 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.004918, allocations: 0 / 1.085 GB, free: 23.25 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.743e-06/0.00492, allocations: 6.562 kB / 1.085 GB, free: 23.25 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.004926, allocations: 3.938 kB / 1.085 GB, free: 23.24 MB / 1.01 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.0003528/0.005279, allocations: 274.3 kB / 1.085 GB, free: 22.96 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.005324, allocations: 7.875 kB / 1.085 GB, free: 22.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.005362, allocations: 3.562 kB / 1.085 GB, free: 22.96 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.005442, allocations: 109.1 kB / 1.085 GB, free: 22.83 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.005456, allocations: 6.984 kB / 1.085 GB, free: 22.82 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.005465, allocations: 384 / 1.085 GB, free: 22.82 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.514e-05/0.00556, allocations: 29.11 kB / 1.085 GB, free: 22.79 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.005569, allocations: 192 / 1.085 GB, free: 22.79 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.005579, allocations: 3 kB / 1.085 GB, free: 22.79 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.005584, allocations: 384 / 1.085 GB, free: 22.79 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.005612, allocations: 10.56 kB / 1.085 GB, free: 22.79 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.005728, allocations: 99.05 kB / 1.085 GB, free: 22.66 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 5.805e-05/0.005786, allocations: 31.77 kB / 1.085 GB, free: 22.63 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.005806, allocations: 7.484 kB / 1.085 GB, free: 22.62 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.00583, allocations: 0 / 1.085 GB, free: 22.62 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.00585, allocations: 36.28 kB / 1.085 GB, free: 22.58 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.005851, allocations: 0 / 1.085 GB, free: 22.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.0001569/0.006008, allocations: 48.09 kB / 1.085 GB, free: 22.54 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.006034, allocations: 51.41 kB / 1.086 GB, free: 22.48 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.311e-05/0.006087, allocations: 99.66 kB / 1.086 GB, free: 22.38 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.006094, allocations: 25.7 kB / 1.086 GB, free: 22.34 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.286e-05/0.006106, allocations: 80.39 kB / 1.086 GB, free: 22.26 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.006134, allocations: 14.58 kB / 1.086 GB, free: 22.25 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.006161, allocations: 12.34 kB / 1.086 GB, free: 22.23 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.211e-05/0.006193, allocations: 314.8 kB / 1.086 GB, free: 21.92 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.006208, allocations: 5.859 kB / 1.086 GB, free: 21.92 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-06/0.006216, allocations: 2.625 kB / 1.086 GB, free: 21.92 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.056e-05/0.006247, allocations: 14.11 kB / 1.086 GB, free: 21.91 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006249, allocations: 0 / 1.086 GB, free: 21.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.533e-05/0.006315, allocations: 41.52 kB / 1.086 GB, free: 21.87 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.006331, allocations: 7.969 kB / 1.086 GB, free: 21.87 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.006337, allocations: 4 kB / 1.086 GB, free: 21.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.006352, allocations: 2.625 kB / 1.086 GB, free: 21.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.00653, allocations: 8.484 kB / 1.086 GB, free: 21.86 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002481/0.006778, allocations: 0.5851 MB / 1.087 GB, free: 21.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.0068, allocations: 0 / 1.087 GB, free: 21.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.006806, allocations: 0 / 1.087 GB, free: 21.27 MB / 1.01 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 5.643e-05/0.006863, allocations: 112.4 kB / 1.087 GB, free: 21.16 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-06/0.006871, allocations: 3.938 kB / 1.087 GB, free: 21.15 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.006982, allocations: 56.14 kB / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.006985, allocations: 2.625 kB / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.00699, allocations: 3.469 kB / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006994, allocations: 0 / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.559e-05/0.007049, allocations: 99.95 kB / 1.087 GB, free: 20.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.007051, allocations: 0 / 1.087 GB, free: 20.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.532e-05/0.007136, allocations: 11.11 kB / 1.087 GB, free: 20.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.00714, allocations: 0 / 1.087 GB, free: 20.98 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.007148, allocations: 10.56 kB / 1.087 GB, free: 20.97 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001741/0.007322, allocations: 0.5866 MB / 1.088 GB, free: 20.38 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.007324, allocations: 0 / 1.088 GB, free: 20.38 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.311e-05/0.007377, allocations: 70.75 kB / 1.088 GB, free: 20.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-06/0.007385, allocations: 0 / 1.088 GB, free: 20.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.007398, allocations: 5.906 kB / 1.088 GB, free: 20.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.225e-05/0.00741, allocations: 0 / 1.088 GB, free: 20.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.007425, allocations: 0 / 1.088 GB, free: 20.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.007428, allocations: 2.625 kB / 1.088 GB, free: 20.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 1.796e-05/0.007446, allocations: 75.28 kB / 1.088 GB, free: 20.23 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.007446, allocations: 224 / 1.088 GB, free: 20.23 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002446/0.007691, allocations: 21.06 kB / 1.088 GB, free: 20.22 MB / 1.01 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.0002237/0.007915, allocations: 124.7 kB / 1.088 GB, free: 20.12 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.00809, allocations: 20.48 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.008092, allocations: 0 / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.008154, allocations: 13.78 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.008331, allocations: 7.688 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.008667, allocations: 128 kB / 1.088 GB, free: 19.97 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.406e-05/0.008701, allocations: 56.61 kB / 1.088 GB, free: 19.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.008719, allocations: 8.5 kB / 1.088 GB, free: 19.89 MB / 1.01 GB Notification: Performance of SimCode: time 5.71e-07/0.008719, allocations: 0 / 1.088 GB, free: 19.89 MB / 1.01 GB Notification: Performance of Templates: time 0.002481/0.0112, allocations: 0.7786 MB / 1.089 GB, free: 19.86 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.6644039284437895]