Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.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.0009407/0.0009407, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009709/0.0009709, allocations: 169 kB / 23.27 MB, free: 1.223 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.9928/0.9928, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.326/2.326, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.PowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.498e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.002238/0.002263, allocations: 1.461 MB / 0.8912 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.003379, allocations: 1.032 MB / 0.8922 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.003446, allocations: 3.938 kB / 0.8922 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.003471, allocations: 15.86 kB / 0.8922 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.00358, allocations: 15.84 kB / 0.8923 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.004292, allocations: 246.8 kB / 0.8925 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.004411, allocations: 67.66 kB / 0.8926 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.004451, allocations: 3.938 kB / 0.8926 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.169e-05/0.004523, allocations: 43.89 kB / 0.8926 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.267e-05/0.004615, allocations: 27.91 kB / 0.8926 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.004631, allocations: 4 kB / 0.8926 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005158/0.005147, allocations: 415.3 kB / 0.893 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.005171, allocations: 11.92 kB / 0.893 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.005199, allocations: 23.92 kB / 0.8931 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.005565, allocations: 342.9 kB / 0.8934 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.005568, allocations: 0 / 0.8934 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.183e-06/0.005569, allocations: 0 / 0.8934 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.005573, allocations: 0 / 0.8934 GB, free: 5.969 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004348/0.006007, allocations: 487.4 kB / 0.8939 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.006044, allocations: 8.625 kB / 0.8939 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.00634, allocations: 68.75 kB / 0.8939 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.006443, allocations: 137.8 kB / 0.8941 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.006456, allocations: 384 / 0.8941 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.006467, allocations: 4.375 kB / 0.8941 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.006592, allocations: 70.91 kB / 0.8941 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.006598, allocations: 192 / 0.8941 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.006607, allocations: 16.06 kB / 0.8941 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.006612, allocations: 0 / 0.8941 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.297e-05/0.006655, allocations: 15.98 kB / 0.8942 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.006772, allocations: 109.2 kB / 0.8943 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.596e-05/0.006858, allocations: 55.02 kB / 0.8943 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.006884, allocations: 19.72 kB / 0.8943 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.006901, allocations: 4 kB / 0.8943 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.00692, allocations: 33.39 kB / 0.8944 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.006921, allocations: 0 / 0.8944 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.000152/0.007073, allocations: 73.67 kB / 0.8944 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.007098, allocations: 55.34 kB / 0.8945 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/0.007196, allocations: 215.7 kB / 0.8947 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.007214, allocations: 25.7 kB / 0.8947 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.007256, allocations: 138.8 kB / 0.8949 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.007278, allocations: 15.89 kB / 0.8949 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.007322, allocations: 39.34 kB / 0.8949 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.007437, allocations: 0.4884 MB / 0.8954 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.007475, allocations: 23.98 kB / 0.8954 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/0.007505, allocations: 27.98 kB / 0.8954 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.086e-05/0.007596, allocations: 54.5 kB / 0.8955 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007598, allocations: 4 kB / 0.8955 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001533/0.007751, allocations: 117.5 kB / 0.8956 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.007765, allocations: 7.938 kB / 0.8956 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.007785, allocations: 4 kB / 0.8956 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.007798, allocations: 0 / 0.8956 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.007903, allocations: 15.98 kB / 0.8956 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.007908, allocations: 3.938 kB / 0.8956 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/0.007974, allocations: 15.88 kB / 0.8956 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.007984, allocations: 4 kB / 0.8957 GB, free: 3.453 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.449e-05/0.008068, allocations: 160.6 kB / 0.8958 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.008083, allocations: 7.953 kB / 0.8958 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.008117, allocations: 12.33 kB / 0.8958 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008119, allocations: 4 kB / 0.8958 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.008124, allocations: 3.938 kB / 0.8958 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008128, allocations: 0 / 0.8958 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.008265, allocations: 109.2 kB / 0.8959 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.008266, allocations: 3.938 kB / 0.8959 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.008325, allocations: 8 kB / 0.8959 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.008329, allocations: 3.984 kB / 0.896 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.008337, allocations: 8 kB / 0.896 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008338, allocations: 7.938 kB / 0.896 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.00834, allocations: 4 kB / 0.896 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.008453, allocations: 96.5 kB / 0.8961 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.008469, allocations: 11.94 kB / 0.8961 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.008481, allocations: 0 / 0.8961 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.008521, allocations: 4 kB / 0.8961 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.008536, allocations: 7.984 kB / 0.8961 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.00854, allocations: 0 / 0.8961 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.913e-05/0.008589, allocations: 149.5 kB / 0.8962 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00859, allocations: 4 kB / 0.8962 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001567/0.008746, allocations: 35.88 kB / 0.8963 GB, free: 2.758 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 (4): * Single equations (assignments): 4 * 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.0001425/0.008889, allocations: 107.2 kB / 0.8964 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.009021, allocations: 101.3 kB / 0.8965 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009023, allocations: 0 / 0.8965 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.009048, allocations: 23.67 kB / 0.8965 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.009204, allocations: 8 kB / 0.8965 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.009819, allocations: 210.4 kB / 0.8967 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.91e-05/0.009849, allocations: 63.2 kB / 0.8968 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.399e-05/0.009893, allocations: 11.98 kB / 0.8968 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.009974, allocations: 78.2 kB / 0.8968 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of SimCode: time 6.22e-07/0.009974, allocations: 0 / 0.8968 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of Templates: time 0.004071/0.01405, allocations: 2.124 MB / 0.8989 GB, free: 15.99 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.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.331714682281017]