Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001456/0.001456, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001428/0.001428, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.093/1.093, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.924/1.924, allocations: 377.9 MB / 0.6239 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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,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") 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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.469e-05, allocations: 2.312 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001789/0.001814, allocations: 1.312 MB / 0.8133 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006732/0.002487, allocations: 0.5445 MB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.00251, allocations: 4 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.002525, allocations: 0 / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.002566, allocations: 5.625 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.002923, allocations: 144.8 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.304e-05/0.002966, allocations: 11.92 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.251e-05/0.002999, allocations: 4 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.003029, allocations: 4 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.003072, allocations: 8.594 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.003082, allocations: 0 / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.003357, allocations: 264.3 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.003371, allocations: 7.938 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.139e-05/0.003382, allocations: 4 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.00357, allocations: 149.1 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003573, allocations: 4 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003573, allocations: 0 / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.003577, allocations: 3.938 kB / 0.8144 GB, free: 15 MB / 0.7761 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.0002771/0.003854, allocations: 376.5 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.003887, allocations: 8.75 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.003911, allocations: 8.938 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.318e-05/0.003975, allocations: 109.5 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.003983, allocations: 2.031 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.003991, allocations: 8.375 kB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.452e-05/0.004045, allocations: 26.27 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.004051, allocations: 192 / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-06/0.004056, allocations: 0.875 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004061, allocations: 4.969 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.005e-05/0.004071, allocations: 7.875 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.369e-05/0.004165, allocations: 102 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.004199, allocations: 32.23 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.004213, allocations: 11.69 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.004236, allocations: 4.062 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.004253, allocations: 34.77 kB / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.004254, allocations: 0 / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 9.534e-05/0.004349, allocations: 41.62 kB / 0.8151 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.004373, allocations: 53.16 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.922e-05/0.004432, allocations: 153.9 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.004441, allocations: 25.7 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.004472, allocations: 126.9 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.004497, allocations: 18.11 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.004518, allocations: 15.38 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.00463, allocations: 0.4961 MB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/0.004638, allocations: 0 / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-06/0.004644, allocations: 0 / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.095e-05/0.004665, allocations: 14.47 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.004666, allocations: 0 / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.831e-05/0.004715, allocations: 45.58 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.004726, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.004731, allocations: 0 / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.00474, allocations: 0 / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.004849, allocations: 13.48 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005042/0.005353, allocations: 0.8893 MB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.005369, allocations: 3.938 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.005373, allocations: 0.5 kB / 0.8169 GB, free: 12.18 MB / 0.7761 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.275e-05/0.005436, allocations: 161.6 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-06/0.005441, allocations: 4 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.005515, allocations: 42.33 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.005518, allocations: 0 / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.005519, allocations: 0 / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.005523, allocations: 6.578 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.938e-05/0.005582, allocations: 105.2 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.005583, allocations: 0 / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-05/0.005634, allocations: 8 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.005637, allocations: 3.984 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.005642, allocations: 3.984 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002415/0.005883, allocations: 0.8938 MB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.005885, allocations: 5.125 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.473e-05/0.005929, allocations: 72.45 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.00594, allocations: 8.922 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-06/0.005947, allocations: 0 / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-06/0.005954, allocations: 0 / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.005965, allocations: 4.844 kB / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.005967, allocations: 0 / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.082e-05/0.005998, allocations: 123.8 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.005998, allocations: 3.688 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001278/0.006126, allocations: 11.94 kB / 0.8184 GB, free: 10.65 MB / 0.7761 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.0001297/0.006255, allocations: 107.2 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.006358, allocations: 31.66 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00636, allocations: 0 / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.006393, allocations: 23.61 kB / 0.8185 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.006495, allocations: 5.5 kB / 0.8185 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.006744, allocations: 109.2 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.518e-05/0.006769, allocations: 56.39 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.006783, allocations: 1.125 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.006811, allocations: 66.2 kB / 0.8187 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.006812, allocations: 0 / 0.8187 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.002035/0.008847, allocations: 0.5348 MB / 0.8193 GB, free: 9.719 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.116257212590426]