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.001029/0.001029, allocations: 80.75 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.0009722/0.0009722, allocations: 181 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 0.9569/0.9569, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.474/2.474, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.172e-06/1.172e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.841e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.001699/0.001718, allocations: 1.418 MB / 0.84 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.00285, allocations: 0.918 MB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.002892, allocations: 0 / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.556e-05/0.002937, allocations: 11.92 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.003072, allocations: 19.91 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005844/0.003656, allocations: 234.8 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.003821, allocations: 179.6 kB / 0.8413 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.003855, allocations: 7.922 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.715e-05/0.003932, allocations: 71.88 kB / 0.8414 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.646e-05/0.004029, allocations: 71.84 kB / 0.8415 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.004048, allocations: 12 kB / 0.8415 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.004468, allocations: 379.5 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.004536, allocations: 59.89 kB / 0.8419 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.004582, allocations: 47.84 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.004935, allocations: 398.7 kB / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.004938, allocations: 4 kB / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004939, allocations: 0 / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.004942, allocations: 0 / 0.8423 GB, free: 10.43 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.0003955/0.005338, allocations: 379.5 kB / 0.8427 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.005372, allocations: 8.625 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/0.005812, allocations: 156.5 kB / 0.8428 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.005906, allocations: 127.6 kB / 0.843 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.005922, allocations: 4.375 kB / 0.843 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.005942, allocations: 8.375 kB / 0.843 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.00614, allocations: 117.7 kB / 0.8431 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.006146, allocations: 192 / 0.8431 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.006161, allocations: 4.375 kB / 0.8431 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.006167, allocations: 8.375 kB / 0.8431 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-05/0.006256, allocations: 51.77 kB / 0.8431 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.006532, allocations: 217.7 kB / 0.8434 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.0067, allocations: 140 kB / 0.8435 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.006753, allocations: 44.83 kB / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.006765, allocations: 0 / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.006784, allocations: 34.56 kB / 0.8436 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.006784, allocations: 4 kB / 0.8436 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0002013/0.006986, allocations: 101.6 kB / 0.8437 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.007013, allocations: 55.34 kB / 0.8437 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.007107, allocations: 191.2 kB / 0.8439 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.007127, allocations: 29.7 kB / 0.8439 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.007167, allocations: 104.5 kB / 0.844 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.00719, allocations: 35.69 kB / 0.8441 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.007259, allocations: 61.62 kB / 0.8441 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.007331, allocations: 326.8 kB / 0.8444 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.094e-05/0.007392, allocations: 46.81 kB / 0.8445 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.00746, allocations: 69.44 kB / 0.8445 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.007589, allocations: 129.4 kB / 0.8447 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007591, allocations: 0 / 0.8447 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001845/0.007776, allocations: 160.2 kB / 0.8448 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.007787, allocations: 8 kB / 0.8448 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.0078, allocations: 4.031 kB / 0.8448 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.007813, allocations: 7.984 kB / 0.8448 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.007929, allocations: 31.91 kB / 0.8449 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.007931, allocations: 0 / 0.8449 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.008005, allocations: 39.67 kB / 0.8449 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.008018, allocations: 3.984 kB / 0.8449 GB, free: 7.59 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 6.719e-05/0.008085, allocations: 120.6 kB / 0.845 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.00811, allocations: 7.984 kB / 0.845 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.008137, allocations: 13.58 kB / 0.845 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.00814, allocations: 11.94 kB / 0.8451 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.008144, allocations: 7.938 kB / 0.8451 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008146, allocations: 0 / 0.8451 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.008255, allocations: 89.86 kB / 0.8451 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.008256, allocations: 0 / 0.8451 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/0.008342, allocations: 31.95 kB / 0.8452 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.008345, allocations: 7.984 kB / 0.8452 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.008354, allocations: 0 / 0.8452 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.008355, allocations: 0 / 0.8452 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.008357, allocations: 3.984 kB / 0.8452 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.008516, allocations: 234.5 kB / 0.8454 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.008529, allocations: 11.91 kB / 0.8454 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.008546, allocations: 0 / 0.8454 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.008619, allocations: 15.98 kB / 0.8454 GB, free: 7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.008638, allocations: 3.984 kB / 0.8454 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.008647, allocations: 7.984 kB / 0.8455 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.00868, allocations: 54.7 kB / 0.8455 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00868, allocations: 0 / 0.8455 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001693/0.00885, allocations: 47.94 kB / 0.8456 GB, free: 6.887 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.0001218/0.008971, allocations: 104.3 kB / 0.8457 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.00917, allocations: 196.7 kB / 0.8458 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.009175, allocations: 8 kB / 0.8458 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.009227, allocations: 40.83 kB / 0.8459 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.00939, allocations: 23.98 kB / 0.8459 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.00978, allocations: 288.8 kB / 0.8462 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.255e-05/0.009822, allocations: 83.25 kB / 0.8463 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.759e-05/0.00988, allocations: 16.48 kB / 0.8463 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.009989, allocations: 75.34 kB / 0.8463 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.00999, allocations: 0 / 0.8463 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of Templates: time 0.004209/0.0142, allocations: 3.035 MB / 0.8493 GB, free: 2.984 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 -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.332448032684624]