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.0009528/0.0009528, 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.00101/0.00101, 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.059/1.059, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.477/2.477, allocations: 438.8 MB / 0.6827 GB, free: 13.54 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.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.283e-06/1.283e-06, allocations: 3.938 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.083e-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.PowerLaw_dp): time 0.002802/0.002823, allocations: 1.492 MB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.004397, allocations: 1.066 MB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.004446, allocations: 0 / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.004468, allocations: 7.922 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.004594, allocations: 19.8 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.005221, allocations: 230.8 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.005328, allocations: 71.64 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.005366, allocations: 11.92 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.005435, allocations: 39.91 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.005521, allocations: 35.89 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.005536, allocations: 4 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006739/0.00621, allocations: 415.3 kB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.00623, allocations: 11.98 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.006261, allocations: 19.92 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.006737, allocations: 354.8 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.006742, allocations: 3.984 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.272e-06/0.006743, allocations: 0 / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.006747, allocations: 0 / 0.8423 GB, free: 10.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004376/0.007184, allocations: 355.7 kB / 0.8427 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.007219, allocations: 16.56 kB / 0.8427 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.007597, allocations: 56.8 kB / 0.8427 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.007707, allocations: 125.6 kB / 0.8429 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.00772, allocations: 384 / 0.8429 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.007732, allocations: 8.375 kB / 0.8429 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.007876, allocations: 66.92 kB / 0.8429 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.007883, allocations: 192 / 0.8429 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.007892, allocations: 4.125 kB / 0.8429 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.007898, allocations: 4 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.007954, allocations: 15.97 kB / 0.843 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.008059, allocations: 65.05 kB / 0.843 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.008169, allocations: 50.53 kB / 0.8431 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.0082, allocations: 12.86 kB / 0.8431 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.008212, allocations: 7.984 kB / 0.8431 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.008236, allocations: 34.56 kB / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.008237, allocations: 0 / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001508/0.008388, allocations: 57.62 kB / 0.8432 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.008418, allocations: 51.41 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.008534, allocations: 164.3 kB / 0.8434 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.00855, allocations: 29.64 kB / 0.8434 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.008587, allocations: 88.12 kB / 0.8435 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.008608, allocations: 7.906 kB / 0.8435 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.008671, allocations: 33.69 kB / 0.8435 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.008769, allocations: 318.8 kB / 0.8438 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/0.008815, allocations: 27.98 kB / 0.8439 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.941e-05/0.008855, allocations: 16 kB / 0.8439 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.169e-05/0.008946, allocations: 56.77 kB / 0.8439 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.008948, allocations: 0 / 0.8439 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001442/0.009092, allocations: 89.61 kB / 0.844 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.009107, allocations: 10.19 kB / 0.844 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.00912, allocations: 0 / 0.844 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.00913, allocations: 0 / 0.844 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.009265, allocations: 15.98 kB / 0.844 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.009269, allocations: 7.938 kB / 0.8441 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.132e-05/0.00936, allocations: 19.88 kB / 0.8441 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.009371, allocations: 0 / 0.8441 GB, free: 8.371 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 (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 7.064e-05/0.009442, allocations: 113.8 kB / 0.8442 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.009456, allocations: 0 / 0.8442 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.009485, allocations: 16.33 kB / 0.8442 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.009487, allocations: 0 / 0.8442 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.009488, allocations: 0 / 0.8442 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.009493, allocations: 3.938 kB / 0.8442 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.473e-05/0.009578, allocations: 77.88 kB / 0.8443 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009579, allocations: 0 / 0.8443 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.009658, allocations: 19.92 kB / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.00966, allocations: 0 / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.009667, allocations: 0 / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.009668, allocations: 0 / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009669, allocations: 0 / 0.8443 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.009789, allocations: 81.03 kB / 0.8444 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.009806, allocations: 7.953 kB / 0.8444 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.009825, allocations: 4 kB / 0.8444 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.009889, allocations: 4 kB / 0.8444 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.009907, allocations: 3.984 kB / 0.8444 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.009915, allocations: 12.17 kB / 0.8444 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.009956, allocations: 33.98 kB / 0.8444 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009956, allocations: 0 / 0.8444 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002077/0.01016, allocations: 31.94 kB / 0.8445 GB, free: 7.922 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 (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.0001618/0.01033, allocations: 96.28 kB / 0.8446 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.01047, allocations: 78.53 kB / 0.8446 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.01048, allocations: 0 / 0.8446 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.01051, allocations: 20.84 kB / 0.8447 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.01065, allocations: 19.98 kB / 0.8447 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.01134, allocations: 204.6 kB / 0.8449 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.698e-05/0.01137, allocations: 59.34 kB / 0.8449 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.053e-05/0.01143, allocations: 8 kB / 0.8449 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.01153, allocations: 63.36 kB / 0.845 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.01153, allocations: 0 / 0.845 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of Templates: time 0.004687/0.01622, allocations: 2.132 MB / 0.8471 GB, free: 5.207 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.3713917108252645]