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.0009776/0.0009776, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009584/0.0009584, allocations: 173 kB / 23.36 MB, free: 1.133 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.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.312/2.312, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.292e-06/1.292e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.113e-05, allocations: 4.984 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001711/0.001732, allocations: 1.383 MB / 0.84 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.002649, allocations: 0.9025 MB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.002679, allocations: 0 / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.002696, allocations: 3.938 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.002769, allocations: 11.86 kB / 0.8409 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.003191, allocations: 210.9 kB / 0.8411 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.003257, allocations: 39.84 kB / 0.8411 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/0.003288, allocations: 0 / 0.8411 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.003331, allocations: 23.92 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.003371, allocations: 15.98 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.003383, allocations: 4 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.00376, allocations: 383.3 kB / 0.8415 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.003776, allocations: 7.922 kB / 0.8415 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.003797, allocations: 8 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.004091, allocations: 295.1 kB / 0.8418 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004093, allocations: 0 / 0.8418 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004094, allocations: 0 / 0.8418 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.004097, allocations: 0 / 0.8418 GB, free: 10.96 MB / 0.8073 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.0002856/0.004382, allocations: 312 kB / 0.8421 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.004414, allocations: 20.56 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.004564, allocations: 24.84 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.46e-05/0.004639, allocations: 105.8 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.00465, allocations: 4.312 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.004661, allocations: 4.375 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.583e-05/0.004746, allocations: 46.95 kB / 0.8423 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.004753, allocations: 4.172 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.00476, allocations: 384 / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.004766, allocations: 4.375 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.004785, allocations: 15.92 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.25e-05/0.004858, allocations: 72.92 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.66e-05/0.004904, allocations: 26.55 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.004917, allocations: 8.922 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.004927, allocations: 3.984 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.004944, allocations: 30.56 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.004945, allocations: 4 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.279e-05/0.005038, allocations: 33.7 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.005065, allocations: 55.41 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.526e-05/0.00513, allocations: 134.8 kB / 0.8427 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.005139, allocations: 25.7 kB / 0.8427 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.005162, allocations: 88.08 kB / 0.8428 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.005178, allocations: 7.938 kB / 0.8428 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.005208, allocations: 25.64 kB / 0.8428 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.005274, allocations: 322.8 kB / 0.8431 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.00529, allocations: 4 kB / 0.8431 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.005304, allocations: 15.94 kB / 0.8431 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.005341, allocations: 28.83 kB / 0.8432 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005343, allocations: 0 / 0.8432 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.927e-05/0.005402, allocations: 61.62 kB / 0.8432 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.005413, allocations: 8 kB / 0.8432 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.005424, allocations: 0 / 0.8432 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.005434, allocations: 0 / 0.8432 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.005757, allocations: 55.86 kB / 0.8433 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007655/0.006522, allocations: 1.243 MB / 0.8445 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.006544, allocations: 15.88 kB / 0.8445 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.00655, allocations: 0 / 0.8445 GB, free: 7.941 MB / 0.8073 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 5.161e-05/0.006602, allocations: 113.8 kB / 0.8446 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-06/0.006607, allocations: 0 / 0.8446 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.457e-06/0.006617, allocations: 3.625 kB / 0.8446 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.71e-07/0.006617, allocations: 0 / 0.8446 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.006619, allocations: 12 kB / 0.8446 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.006621, allocations: 0 / 0.8446 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.153e-05/0.006672, allocations: 73.83 kB / 0.8447 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.006674, allocations: 0 / 0.8447 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.006997, allocations: 71.91 kB / 0.8448 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.007, allocations: 4 kB / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.007004, allocations: 0 / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006508/0.007655, allocations: 1.248 MB / 0.846 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007656, allocations: 0 / 0.846 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.688e-05/0.007703, allocations: 69.25 kB / 0.8461 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-06/0.007706, allocations: 0 / 0.8461 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-06/0.007712, allocations: 7.938 kB / 0.8461 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.55e-05/0.007728, allocations: 3.938 kB / 0.8461 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.007741, allocations: 0 / 0.8461 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.007744, allocations: 3.984 kB / 0.8461 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.781e-05/0.007762, allocations: 20.84 kB / 0.8461 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007762, allocations: 3.938 kB / 0.8461 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001295/0.007892, allocations: 24 kB / 0.8461 GB, free: 6.152 MB / 0.8073 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.0001195/0.008011, allocations: 100.4 kB / 0.8462 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.008368, allocations: 106.5 kB / 0.8463 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.008372, allocations: 4 kB / 0.8463 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.008706, allocations: 92.69 kB / 0.8464 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.869e-05/0.008794, allocations: 12 kB / 0.8464 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.009019, allocations: 140.4 kB / 0.8466 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.3e-05/0.009042, allocations: 55.36 kB / 0.8466 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.396e-05/0.009056, allocations: 4.062 kB / 0.8466 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.009178, allocations: 59.36 kB / 0.8467 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of SimCode: time 5.82e-07/0.009179, allocations: 0 / 0.8467 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of Templates: time 0.002817/0.012, allocations: 1.583 MB / 0.8482 GB, free: 3.965 MB / 0.8073 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.244087015278637]