Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.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.0009288/0.0009288, allocations: 83.67 kB / 20.98 MB, free: 3.324 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.003698/0.003698, allocations: 151 kB / 24.44 MB, free: 8.594 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.9272/0.9272, allocations: 177.2 MB / 204.9 MB, free: 5.434 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.395/2.395, allocations: 439.8 MB / 0.6849 GB, free: 12.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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.InvertingPowerLaw_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.8412 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.522e-05, allocations: 2.312 kB / 0.8412 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv): time 0.002661/0.002686, allocations: 1.474 MB / 0.8427 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.004185, allocations: 0.9419 MB / 0.8436 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.004219, allocations: 0 / 0.8436 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.004236, allocations: 0 / 0.8436 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.029e-05/0.004307, allocations: 15.86 kB / 0.8436 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.004895, allocations: 254.8 kB / 0.8439 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.004966, allocations: 43.78 kB / 0.8439 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.002e-05/0.004996, allocations: 3.938 kB / 0.8439 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.758e-05/0.005043, allocations: 23.97 kB / 0.8439 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.005079, allocations: 11.94 kB / 0.8439 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.00509, allocations: 0 / 0.8439 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007889/0.005879, allocations: 0.511 MB / 0.8444 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.005895, allocations: 8 kB / 0.8444 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.005914, allocations: 11.92 kB / 0.8445 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.006357, allocations: 346.8 kB / 0.8448 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.006359, allocations: 0 / 0.8448 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.062e-06/0.00636, allocations: 0 / 0.8448 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.006363, allocations: 0 / 0.8448 GB, free: 9.023 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003584/0.006722, allocations: 319.6 kB / 0.8451 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.006752, allocations: 8.031 kB / 0.8451 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.006778, allocations: 4.938 kB / 0.8451 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/0.006871, allocations: 117.7 kB / 0.8452 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.006882, allocations: 384 / 0.8452 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.006893, allocations: 4.375 kB / 0.8452 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.09e-05/0.006954, allocations: 34.19 kB / 0.8452 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.006962, allocations: 192 / 0.8452 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.006969, allocations: 4.125 kB / 0.8453 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.006977, allocations: 0 / 0.8453 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.332e-05/0.006991, allocations: 4 kB / 0.8453 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.447e-05/0.007075, allocations: 61.05 kB / 0.8453 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.362e-05/0.007119, allocations: 18.61 kB / 0.8453 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.007134, allocations: 16.92 kB / 0.8453 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.007158, allocations: 7.922 kB / 0.8454 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.007182, allocations: 34.56 kB / 0.8454 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.007183, allocations: 0 / 0.8454 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.108e-05/0.007274, allocations: 29.7 kB / 0.8454 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.007308, allocations: 55.41 kB / 0.8455 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.749e-05/0.007395, allocations: 142.5 kB / 0.8456 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.007408, allocations: 25.7 kB / 0.8456 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.007441, allocations: 84.09 kB / 0.8457 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.007459, allocations: 12.02 kB / 0.8457 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.007495, allocations: 25.69 kB / 0.8457 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.007586, allocations: 326.8 kB / 0.8461 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.007604, allocations: 7.938 kB / 0.8461 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.00762, allocations: 8 kB / 0.8461 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.216e-05/0.007662, allocations: 32.83 kB / 0.8461 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007664, allocations: 0 / 0.8461 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.156e-05/0.007745, allocations: 53.7 kB / 0.8462 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.007758, allocations: 4 kB / 0.8462 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.007772, allocations: 7.984 kB / 0.8462 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.00778, allocations: 0 / 0.8462 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.007916, allocations: 12 kB / 0.8462 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002732/0.00819, allocations: 0.5937 MB / 0.8468 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.008207, allocations: 7.953 kB / 0.8468 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.008212, allocations: 0 / 0.8468 GB, free: 6.812 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.008258, allocations: 105.8 kB / 0.8469 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.008264, allocations: 11.94 kB / 0.8469 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.008321, allocations: 49.19 kB / 0.8469 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008323, allocations: 0 / 0.8469 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.008324, allocations: 4.094 kB / 0.8469 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.008326, allocations: 0 / 0.8469 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.137e-05/0.008378, allocations: 77.81 kB / 0.847 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008379, allocations: 4 kB / 0.847 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.008435, allocations: 11.98 kB / 0.847 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.008437, allocations: 0 / 0.847 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-06/0.00844, allocations: 0 / 0.847 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000179/0.008619, allocations: 0.5977 MB / 0.8476 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008619, allocations: 0 / 0.8476 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.117e-05/0.008661, allocations: 69.06 kB / 0.8477 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.00867, allocations: 7.953 kB / 0.8477 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-06/0.008676, allocations: 96 / 0.8477 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-06/0.008684, allocations: 0 / 0.8477 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.008694, allocations: 3.984 kB / 0.8477 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.008696, allocations: 0 / 0.8477 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.866e-05/0.008715, allocations: 31.45 kB / 0.8477 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008715, allocations: 0 / 0.8477 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001281/0.008843, allocations: 47.8 kB / 0.8478 GB, free: 5.727 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/0.008989, allocations: 140.2 kB / 0.8479 GB, free: 5.578 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.877e-05/0.009087, allocations: 62.48 kB / 0.8479 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.009089, allocations: 0 / 0.8479 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/0.009111, allocations: 12.86 kB / 0.848 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.416e-05/0.009195, allocations: 11.92 kB / 0.848 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.009388, allocations: 132.5 kB / 0.8481 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.355e-05/0.009412, allocations: 59.34 kB / 0.8482 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.838e-05/0.00943, allocations: 12.06 kB / 0.8482 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.009467, allocations: 51.38 kB / 0.8482 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.009468, allocations: 0 / 0.8482 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of Templates: time 0.00275/0.01222, allocations: 1.713 MB / 0.8499 GB, free: 3.488 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow_inv.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: 4.960954668931663]