Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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.001153/0.001153, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009941/0.0009941, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.051/2.051, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.InvertingPowerLaw_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.InvertingPowerLaw_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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.InvertingPowerLaw_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.114e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001849/0.00187, allocations: 1.396 MB / 0.8796 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.002973, allocations: 0.8987 MB / 0.8805 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.003013, allocations: 0 / 0.8805 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.003035, allocations: 3.938 kB / 0.8805 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.029e-05/0.003115, allocations: 8.812 kB / 0.8805 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.003606, allocations: 218.3 kB / 0.8807 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.425e-05/0.00369, allocations: 35.8 kB / 0.8807 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.003739, allocations: 4 kB / 0.8807 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.003791, allocations: 15.98 kB / 0.8807 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.818e-05/0.003839, allocations: 16.52 kB / 0.8807 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.003854, allocations: 5.312 kB / 0.8807 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003926/0.004247, allocations: 379.3 kB / 0.8811 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.004264, allocations: 11.98 kB / 0.8811 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.004287, allocations: 11.94 kB / 0.8811 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.004591, allocations: 292.8 kB / 0.8814 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004593, allocations: 0 / 0.8814 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004594, allocations: 4 kB / 0.8814 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004599, allocations: 0 / 0.8814 GB, free: 3.367 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.0003843/0.004983, allocations: 439.7 kB / 0.8818 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.005021, allocations: 12.03 kB / 0.8818 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.005221, allocations: 28.8 kB / 0.8819 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.434e-05/0.005315, allocations: 116.6 kB / 0.882 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.005327, allocations: 384 / 0.882 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.005337, allocations: 4.312 kB / 0.882 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.005439, allocations: 54.95 kB / 0.882 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.005446, allocations: 4.172 kB / 0.882 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.005455, allocations: 384 / 0.882 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.005462, allocations: 4.375 kB / 0.882 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.005488, allocations: 11.94 kB / 0.8821 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.005607, allocations: 128.6 kB / 0.8822 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.005664, allocations: 35.05 kB / 0.8822 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/0.005689, allocations: 19.69 kB / 0.8822 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.005703, allocations: 4 kB / 0.8822 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.00572, allocations: 33.39 kB / 0.8823 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.005721, allocations: 0 / 0.8823 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/0.005863, allocations: 53.73 kB / 0.8823 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.005891, allocations: 55.44 kB / 0.8824 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.005979, allocations: 185.8 kB / 0.8826 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.005989, allocations: 25.7 kB / 0.8826 GB, free: 2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.00603, allocations: 138.8 kB / 0.8827 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.006044, allocations: 7.891 kB / 0.8827 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.006078, allocations: 31.36 kB / 0.8827 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.006183, allocations: 0.4884 MB / 0.8832 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-05/0.00621, allocations: 15.94 kB / 0.8832 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.006229, allocations: 11.98 kB / 0.8833 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.984e-05/0.006279, allocations: 35.73 kB / 0.8833 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006281, allocations: 8 kB / 0.8833 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.218e-05/0.006363, allocations: 69.69 kB / 0.8834 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.006376, allocations: 6.344 kB / 0.8834 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.006389, allocations: 0 / 0.8834 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.006403, allocations: 7.984 kB / 0.8834 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.006758, allocations: 51.88 kB / 0.8834 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.008028, allocations: 1.864 MB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.131e-05/0.008049, allocations: 0 / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.008057, allocations: 4 kB / 0.8852 GB, free: 15.12 MB / 0.8542 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.246e-05/0.008139, allocations: 156.5 kB / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.008154, allocations: 19.83 kB / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.062e-05/0.008165, allocations: 7.75 kB / 0.8854 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.11e-07/0.008166, allocations: 0 / 0.8854 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.008168, allocations: 3.984 kB / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.00817, allocations: 0 / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.759e-05/0.008227, allocations: 120.6 kB / 0.8855 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.008229, allocations: 3.984 kB / 0.8855 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.008598, allocations: 79.91 kB / 0.8856 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.008599, allocations: 0 / 0.8856 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.008607, allocations: 3.938 kB / 0.8856 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008359/0.009443, allocations: 1.845 MB / 0.8874 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.009444, allocations: 4.125 kB / 0.8874 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.582e-05/0.00951, allocations: 88.33 kB / 0.8875 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.009515, allocations: 3.938 kB / 0.8875 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-06/0.00952, allocations: 0 / 0.8875 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.009538, allocations: 7.984 kB / 0.8875 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.009559, allocations: 3.938 kB / 0.8875 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.009562, allocations: 0 / 0.8875 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.009e-05/0.009602, allocations: 137.8 kB / 0.8877 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009602, allocations: 4 kB / 0.8877 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001533/0.009755, allocations: 20 kB / 0.8877 GB, free: 12.43 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.0001261/0.009881, allocations: 119.2 kB / 0.8878 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.01032, allocations: 121.3 kB / 0.8879 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01032, allocations: 0 / 0.8879 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.01069, allocations: 103.5 kB / 0.888 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.01084, allocations: 10.19 kB / 0.888 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.01113, allocations: 130.3 kB / 0.8881 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.283e-05/0.01116, allocations: 63.16 kB / 0.8882 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.552e-05/0.01118, allocations: 8.094 kB / 0.8882 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.01119, allocations: 8.5 kB / 0.8882 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/0.0112, allocations: 0 / 0.8882 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.002927/0.01412, allocations: 1.444 MB / 0.8896 GB, free: 10.4 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_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.2808442041277885]