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.001094/0.001094, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001127/0.001127, allocations: 169 kB / 23.02 MB, free: 1.547 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.9506/0.9506, allocations: 177.1 MB / 203.4 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.079/2.079, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.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.673e-06/1.673e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.484e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002205/0.002229, allocations: 1.432 MB / 0.8796 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.003158, allocations: 0.9272 MB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.00319, allocations: 0 / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.003234, allocations: 11.92 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.003352, allocations: 19.84 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.003818, allocations: 228.9 kB / 0.8807 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.00398, allocations: 176.6 kB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.004018, allocations: 8 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.91e-05/0.004087, allocations: 75.86 kB / 0.881 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.004178, allocations: 69.05 kB / 0.8811 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.004198, allocations: 8 kB / 0.8811 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.00458, allocations: 383.3 kB / 0.8814 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.004642, allocations: 68.75 kB / 0.8815 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.004689, allocations: 39.91 kB / 0.8815 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.005043, allocations: 391.8 kB / 0.8819 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005046, allocations: 0 / 0.8819 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005047, allocations: 4 kB / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.005051, allocations: 7.375 kB / 0.8819 GB, free: 2.492 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004365/0.005487, allocations: 0.507 MB / 0.8824 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.00552, allocations: 8.031 kB / 0.8824 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.00599, allocations: 148.4 kB / 0.8826 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.501e-05/0.006085, allocations: 121.4 kB / 0.8827 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.006104, allocations: 8.375 kB / 0.8827 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.006124, allocations: 4.375 kB / 0.8827 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.00634, allocations: 132.6 kB / 0.8828 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.006345, allocations: 192 / 0.8828 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.006359, allocations: 384 / 0.8828 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.006366, allocations: 1.906 kB / 0.8828 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.006495, allocations: 79.8 kB / 0.8829 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.006854, allocations: 363.5 kB / 0.8832 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.007059, allocations: 132.3 kB / 0.8834 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.532e-05/0.007135, allocations: 56.2 kB / 0.8834 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.007147, allocations: 4 kB / 0.8834 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.007167, allocations: 41.33 kB / 0.8835 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 8.31e-07/0.007168, allocations: 0 / 0.8835 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003048/0.007472, allocations: 157.4 kB / 0.8836 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.007501, allocations: 55.41 kB / 0.8837 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.007627, allocations: 256 kB / 0.8839 GB, free: 288 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.007644, allocations: 29.69 kB / 0.8839 GB, free: 252 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.007701, allocations: 147.3 kB / 0.8841 GB, free: 100 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.007724, allocations: 35.72 kB / 0.8841 GB, free: 64 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.007811, allocations: 83.28 kB / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.007916, allocations: 0.5001 MB / 0.8847 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.008008, allocations: 63.97 kB / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.008116, allocations: 101 kB / 0.8848 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.008292, allocations: 159.9 kB / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.008294, allocations: 0 / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002681/0.008562, allocations: 221.4 kB / 0.8852 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.008573, allocations: 12 kB / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.008589, allocations: 11.88 kB / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.0086, allocations: 0 / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.008729, allocations: 27.97 kB / 0.8853 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.008737, allocations: 8 kB / 0.8853 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.008817, allocations: 31.72 kB / 0.8853 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.008834, allocations: 15.98 kB / 0.8853 GB, free: 14.8 MB / 0.8542 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 7.661e-05/0.008911, allocations: 156.6 kB / 0.8855 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.008941, allocations: 19.91 kB / 0.8855 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.008975, allocations: 17.41 kB / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008977, allocations: 0 / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.008981, allocations: 3.938 kB / 0.8855 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.008983, allocations: 4 kB / 0.8855 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.009108, allocations: 160.5 kB / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.00911, allocations: 3.984 kB / 0.8857 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.009202, allocations: 27.97 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009204, allocations: 0 / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.009218, allocations: 4 kB / 0.8857 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.00922, allocations: 3.938 kB / 0.8857 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.009221, allocations: 4 kB / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.00945, allocations: 280 kB / 0.886 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.009462, allocations: 7.953 kB / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.009481, allocations: 0 / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.00956, allocations: 19.92 kB / 0.886 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.009584, allocations: 3.984 kB / 0.886 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.009594, allocations: 7.984 kB / 0.886 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.009656, allocations: 168.2 kB / 0.8862 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009656, allocations: 0 / 0.8862 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002065/0.009862, allocations: 55.94 kB / 0.8862 GB, free: 13.81 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 (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.0001268/0.009989, allocations: 115.2 kB / 0.8863 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.01027, allocations: 240.6 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01027, allocations: 0 / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.27e-05/0.01034, allocations: 59.59 kB / 0.8866 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01056, allocations: 35.78 kB / 0.8866 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.01101, allocations: 296.7 kB / 0.8869 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.266e-05/0.01105, allocations: 79.31 kB / 0.887 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8e-05/0.01113, allocations: 40.44 kB / 0.887 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.01119, allocations: 16.48 kB / 0.8871 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of SimCode: time 6.52e-07/0.01119, allocations: 4 kB / 0.8871 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of Templates: time 0.004158/0.01535, allocations: 3.037 MB / 0.89 GB, free: 9.848 MB / 0.8542 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.235328573733568]