Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.001349/0.001349, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001491/0.001491, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.034/1.034, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.507/2.507, allocations: 438.8 MB / 0.6827 GB, free: 13.53 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.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.[0-9,]+.|m_flow_nominal|dp|dpCalc.[0-9,]+.|deltaDp.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.[0-9,]+.|m_flow_nominal|dp|dpCalc.[0-9,]+.|deltaDp.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.322e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002046/0.002069, allocations: 1.461 MB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.0031, allocations: 0.918 MB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.003139, allocations: 4 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.003177, allocations: 7.922 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.00331, allocations: 15.92 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.003935, allocations: 222.8 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.004177, allocations: 175.6 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.004228, allocations: 11.92 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.004343, allocations: 75.88 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.004482, allocations: 71.84 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.004508, allocations: 8 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006764/0.005184, allocations: 391.5 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.005296, allocations: 63.88 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.005364, allocations: 43.84 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.005922, allocations: 394.8 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.005927, allocations: 4 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.763e-06/0.005929, allocations: 3.938 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.005935, allocations: 0 / 0.8424 GB, free: 10.23 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000565/0.0065, allocations: 383.1 kB / 0.8428 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.006542, allocations: 8.625 kB / 0.8428 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005631/0.007106, allocations: 152.5 kB / 0.8429 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.007258, allocations: 123.6 kB / 0.843 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.007287, allocations: 8.312 kB / 0.8431 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.007316, allocations: 12.38 kB / 0.8431 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.007582, allocations: 117.7 kB / 0.8432 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.007592, allocations: 192 / 0.8432 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.007605, allocations: 384 / 0.8432 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.007613, allocations: 384 / 0.8432 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.007723, allocations: 55.83 kB / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.008107, allocations: 229.7 kB / 0.8435 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.00833, allocations: 148 kB / 0.8436 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.008398, allocations: 40.83 kB / 0.8436 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.008418, allocations: 4 kB / 0.8436 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.008706, allocations: 30.56 kB / 0.8437 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 3.296e-06/0.008709, allocations: 0 / 0.8437 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0002707/0.00898, allocations: 105.6 kB / 0.8438 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.009017, allocations: 55.34 kB / 0.8438 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.009152, allocations: 191.2 kB / 0.844 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.009171, allocations: 33.69 kB / 0.844 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.009223, allocations: 100.5 kB / 0.8441 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.009249, allocations: 35.69 kB / 0.8442 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.009326, allocations: 57.62 kB / 0.8442 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.009417, allocations: 330.8 kB / 0.8445 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.411e-05/0.009511, allocations: 46.81 kB / 0.8446 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.751e-05/0.009589, allocations: 65.42 kB / 0.8446 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.009743, allocations: 129.4 kB / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.009745, allocations: 4 kB / 0.8448 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000265/0.01001, allocations: 160.2 kB / 0.8449 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.01003, allocations: 10.03 kB / 0.8449 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.01006, allocations: 3.984 kB / 0.8449 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.01008, allocations: 4 kB / 0.8449 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.01024, allocations: 31.91 kB / 0.845 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.01024, allocations: 0 / 0.845 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.073e-05/0.01033, allocations: 43.66 kB / 0.845 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.01035, allocations: 8.016 kB / 0.845 GB, free: 7.375 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.803e-05/0.01044, allocations: 120.6 kB / 0.8451 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.01047, allocations: 4 kB / 0.8451 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.01051, allocations: 17.45 kB / 0.8452 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01051, allocations: 4 kB / 0.8452 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01051, allocations: 3.938 kB / 0.8452 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01052, allocations: 0 / 0.8452 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.01064, allocations: 93.86 kB / 0.8453 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01064, allocations: 0 / 0.8453 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.01076, allocations: 40.06 kB / 0.8453 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01076, allocations: 3.938 kB / 0.8453 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.01077, allocations: 0 / 0.8453 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01077, allocations: 3.984 kB / 0.8453 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01077, allocations: 4 kB / 0.8453 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.01097, allocations: 226.2 kB / 0.8455 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.01099, allocations: 19.89 kB / 0.8455 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.011, allocations: 0 / 0.8455 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.01109, allocations: 12 kB / 0.8455 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.01112, allocations: 11.98 kB / 0.8456 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.01113, allocations: 3.984 kB / 0.8456 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.01117, allocations: 50.72 kB / 0.8456 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01117, allocations: 0 / 0.8456 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002057/0.01138, allocations: 47.94 kB / 0.8457 GB, free: 6.676 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001621/0.01154, allocations: 100.3 kB / 0.8458 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.01178, allocations: 194.3 kB / 0.8459 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.01178, allocations: 4 kB / 0.8459 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.485e-05/0.01185, allocations: 52.83 kB / 0.846 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01207, allocations: 19.98 kB / 0.846 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.01253, allocations: 292.7 kB / 0.8463 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.411e-05/0.01257, allocations: 79.25 kB / 0.8464 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.203e-05/0.01264, allocations: 20.48 kB / 0.8464 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.01277, allocations: 79.34 kB / 0.8465 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of SimCode: time 1.403e-06/0.01277, allocations: 0 / 0.8465 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.004462/0.01724, allocations: 3.035 MB / 0.8494 GB, free: 2.758 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.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.253420741762966]