Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009858/0.0009858, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001685/0.001685, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.9828/0.9828, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.06/2.06, allocations: 429.5 MB / 0.6736 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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,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") 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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.512e-05, allocations: 9.203 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00525/0.005275, allocations: 1.335 MB / 0.8795 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008213/0.006096, allocations: 0.5581 MB / 0.88 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.006122, allocations: 3.938 kB / 0.8801 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.006142, allocations: 0 / 0.8801 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.006185, allocations: 0 / 0.8801 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.006652, allocations: 141.6 kB / 0.8802 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.429e-05/0.006706, allocations: 11.94 kB / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.006745, allocations: 0 / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.00678, allocations: 15.92 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.006826, allocations: 6.141 kB / 0.8802 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.006839, allocations: 0 / 0.8802 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.007197, allocations: 271.4 kB / 0.8805 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.00721, allocations: 0 / 0.8805 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.00826, allocations: 3.984 kB / 0.8805 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.008514, allocations: 147.5 kB / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.008517, allocations: 0.7188 kB / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.008518, allocations: 0 / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.008522, allocations: 1.656 kB / 0.8806 GB, free: 4.152 MB / 0.8386 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.0003625/0.008885, allocations: 380.3 kB / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.008929, allocations: 12.03 kB / 0.881 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.008967, allocations: 0.9375 kB / 0.881 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.199e-05/0.009059, allocations: 109.9 kB / 0.8811 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.009072, allocations: 4.375 kB / 0.8811 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.00908, allocations: 384 / 0.8811 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.694e-05/0.009167, allocations: 38.2 kB / 0.8811 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.009174, allocations: 192 / 0.8811 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.009182, allocations: 384 / 0.8811 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.00919, allocations: 384 / 0.8811 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.141e-05/0.009212, allocations: 11.92 kB / 0.8812 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.009339, allocations: 108.6 kB / 0.8813 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/0.009385, allocations: 27.09 kB / 0.8813 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.009405, allocations: 15.75 kB / 0.8813 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.009422, allocations: 0 / 0.8813 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.009446, allocations: 45.33 kB / 0.8813 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.009447, allocations: 4 kB / 0.8814 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001275/0.009574, allocations: 37.69 kB / 0.8814 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.009604, allocations: 51.41 kB / 0.8814 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.009676, allocations: 161.9 kB / 0.8816 GB, free: 3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.009685, allocations: 25.7 kB / 0.8816 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.009718, allocations: 126.9 kB / 0.8817 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.009744, allocations: 11.88 kB / 0.8817 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.009775, allocations: 27.31 kB / 0.8818 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.009884, allocations: 492.1 kB / 0.8822 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.009896, allocations: 8.25 kB / 0.8823 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.009903, allocations: 0 / 0.8823 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.009929, allocations: 15.62 kB / 0.8823 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009931, allocations: 0 / 0.8823 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.614e-05/0.009987, allocations: 41.69 kB / 0.8823 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.01, allocations: 8 kB / 0.8823 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.01, allocations: 0 / 0.8823 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01002, allocations: 0 / 0.8823 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.01016, allocations: 11.98 kB / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003383/0.0105, allocations: 0.905 MB / 0.8832 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.01051, allocations: 4 kB / 0.8832 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.01052, allocations: 0 / 0.8832 GB, free: 1.27 MB / 0.8386 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.471e-05/0.01058, allocations: 156.6 kB / 0.8834 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.01059, allocations: 7.922 kB / 0.8834 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.68e-05/0.01068, allocations: 45 kB / 0.8834 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01068, allocations: 0 / 0.8834 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01069, allocations: 0 / 0.8834 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.01069, allocations: 4.094 kB / 0.8834 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.353e-05/0.01075, allocations: 112.6 kB / 0.8835 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01075, allocations: 3.984 kB / 0.8835 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.01081, allocations: 11.94 kB / 0.8835 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01081, allocations: 0 / 0.8835 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.01082, allocations: 3.938 kB / 0.8835 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002907/0.01111, allocations: 0.8933 MB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01111, allocations: 3.984 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.976e-05/0.01117, allocations: 76.33 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-06/0.01118, allocations: 8.047 kB / 0.8845 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.01119, allocations: 4 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-06/0.0112, allocations: 0 / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.01122, allocations: 3.984 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.01122, allocations: 0 / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.01125, allocations: 123.2 kB / 0.8846 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01125, allocations: 0 / 0.8846 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000193/0.01145, allocations: 11.94 kB / 0.8846 GB, free: 15.71 MB / 0.8542 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.0001369/0.01158, allocations: 111.3 kB / 0.8847 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.01172, allocations: 31.67 kB / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01172, allocations: 0 / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.01177, allocations: 23.67 kB / 0.8848 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.01191, allocations: 7.875 kB / 0.8848 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.01221, allocations: 106.5 kB / 0.8849 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.01224, allocations: 55.22 kB / 0.885 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.458e-05/0.01226, allocations: 4.125 kB / 0.885 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.01228, allocations: 8.5 kB / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.01228, allocations: 4 kB / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.002369/0.01464, allocations: 496.2 kB / 0.8854 GB, free: 14.86 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.258660892024636]